}</code></pre><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>Trait implemented by callsites.</p>
<p>These functions are only intended to be called by the callsite registry, which
correctly handles determining the common interest between all subscribers.</p>
<p>See the <ahref="index.html"title="mod tracing_core::callsite">module-level documentation</a> for details on
callsites.</p>
</div></details><h2id="required-methods"class="section-header">Required Methods<ahref="#required-methods"class="anchor">§</a></h2><divclass="methods"><detailsclass="toggle method-toggle"open><summary><sectionid="tymethod.set_interest"class="method"><aclass="src rightside"href="../../src/tracing_core/callsite.rs.html#134">source</a><h4class="code-header">fn <ahref="#tymethod.set_interest"class="fn">set_interest</a>(&self, interest: <aclass="struct"href="../subscriber/struct.Interest.html"title="struct tracing_core::subscriber::Interest">Interest</a>)</h4></section></summary><divclass="docblock"><p>Sets the <ahref="../subscriber/struct.Interest.html"title="struct tracing_core::subscriber::Interest"><code>Interest</code></a> for this callsite.</p>
<p>See the <ahref="index.html#performing-static-filtering"title="mod tracing_core::callsite">documentation on callsite interest caching</a> for
details.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="tymethod.metadata"class="method"><aclass="src rightside"href="../../src/tracing_core/callsite.rs.html#148">source</a><h4class="code-header">fn <ahref="#tymethod.metadata"class="fn">metadata</a>(&self) ->&<aclass="struct"href="../struct.Metadata.html"title="struct tracing_core::Metadata">Metadata</a><'_></h4></section></summary><divclass="docblock"><p>Returns the <ahref="../struct.Metadata.html"title="struct tracing_core::Metadata">metadata</a> associated with the callsite.</p>
<p><strong>Note:</strong> Implementations of this method should not produce <ahref="../struct.Metadata.html"title="struct tracing_core::Metadata"><code>Metadata</code></a>
that share the same callsite <ahref="struct.Identifier.html"title="struct tracing_core::callsite::Identifier"><code>Identifier</code></a> but otherwise differ in any
way (e.g., have different <code>name</code>s).</p>
<p></pre></div></p>
</div></details></div><h2id="implementors"class="section-header">Implementors<ahref="#implementors"class="anchor">§</a></h2><divid="implementors-list"><sectionid="impl-Callsite-for-DefaultCallsite"class="impl"><aclass="src rightside"href="../../src/tracing_core/callsite.rs.html#359-373">source</a><ahref="#impl-Callsite-for-DefaultCallsite"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="../trait.Callsite.html"title="trait tracing_core::Callsite">Callsite</a> for <aclass="struct"href="struct.DefaultCallsite.html"title="struct tracing_core::callsite::DefaultCallsite">DefaultCallsite</a></h3></section></div><scriptsrc="../../trait.impl/tracing_core/callsite/trait.Callsite.js"async></script></section></div></main></body></html>