ocaml-opentelemetry/dev/opentelemetry/Opentelemetry_proto/Resource_pb/index.html
2023-11-17 20:42:23 +00:00

2 lines
2.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Resource_pb (opentelemetry.Opentelemetry_proto.Resource_pb)</title><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.3.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">opentelemetry</a> &#x00BB; <a href="../index.html">Opentelemetry_proto</a> &#x00BB; Resource_pb</nav><header class="odoc-preamble"><h1>Module <code><span>Opentelemetry_proto.Resource_pb</span></code></h1><p>resource.proto Binary Encoding</p></header><nav class="odoc-toc"><ul><li><a href="#protobuf-encoding">Protobuf Encoding</a></li><li><a href="#protobuf-decoding">Protobuf Decoding</a></li></ul></nav><div class="odoc-content"><h3 id="protobuf-encoding"><a href="#protobuf-encoding" class="anchor"></a>Protobuf Encoding</h3><div class="odoc-spec"><div class="spec value anchored" id="val-encode_resource"><a href="#val-encode_resource" class="anchor"></a><code><span><span class="keyword">val</span> encode_resource : <span><a href="../Resource_types/index.html#type-resource">Resource_types.resource</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Pbrt</span>.Encoder.t <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p><code>encode_resource v encoder</code> encodes <code>v</code> with the given <code>encoder</code></p></div></div><h3 id="protobuf-decoding"><a href="#protobuf-decoding" class="anchor"></a>Protobuf Decoding</h3><div class="odoc-spec"><div class="spec value anchored" id="val-decode_resource"><a href="#val-decode_resource" class="anchor"></a><code><span><span class="keyword">val</span> decode_resource : <span><span class="xref-unresolved">Pbrt</span>.Decoder.t <span class="arrow">&#45;&gt;</span></span> <a href="../Resource_types/index.html#type-resource">Resource_types.resource</a></span></code></div><div class="spec-doc"><p><code>decode_resource decoder</code> decodes a <code>resource</code> value from <code>decoder</code></p></div></div></div></body></html>