Files
noq/pr/490/docs/noq/struct.TransportErrorCode.html
T

57 lines
68 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 lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Transport-level error code"><title>TransportErrorCode in noq - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="noq" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">TransportErrorCode</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../noq/index.html">noq</a><span class="version">0.17.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Transport<wbr>Error<wbr>Code</a></h2><h3><a href="#implementations">Associated Constants</a></h3><ul class="block associatedconstant"><li><a href="#associatedconstant.AEAD_LIMIT_REACHED" title="AEAD_LIMIT_REACHED">AEAD_LIMIT_REACHED</a></li><li><a href="#associatedconstant.APPLICATION_ABANDON_PATH" title="APPLICATION_ABANDON_PATH">APPLICATION_ABANDON_PATH</a></li><li><a href="#associatedconstant.APPLICATION_ERROR" title="APPLICATION_ERROR">APPLICATION_ERROR</a></li><li><a href="#associatedconstant.CONNECTION_ID_LIMIT_ERROR" title="CONNECTION_ID_LIMIT_ERROR">CONNECTION_ID_LIMIT_ERROR</a></li><li><a href="#associatedconstant.CONNECTION_REFUSED" title="CONNECTION_REFUSED">CONNECTION_REFUSED</a></li><li><a href="#associatedconstant.CRYPTO_BUFFER_EXCEEDED" title="CRYPTO_BUFFER_EXCEEDED">CRYPTO_BUFFER_EXCEEDED</a></li><li><a href="#associatedconstant.FINAL_SIZE_ERROR" title="FINAL_SIZE_ERROR">FINAL_SIZE_ERROR</a></li><li><a href="#associatedconstant.FLOW_CONTROL_ERROR" title="FLOW_CONTROL_ERROR">FLOW_CONTROL_ERROR</a></li><li><a href="#associatedconstant.FRAME_ENCODING_ERROR" title="FRAME_ENCODING_ERROR">FRAME_ENCODING_ERROR</a></li><li><a href="#associatedconstant.INTERNAL_ERROR" title="INTERNAL_ERROR">INTERNAL_ERROR</a></li><li><a href="#associatedconstant.INVALID_TOKEN" title="INVALID_TOKEN">INVALID_TOKEN</a></li><li><a href="#associatedconstant.KEY_UPDATE_ERROR" title="KEY_UPDATE_ERROR">KEY_UPDATE_ERROR</a></li><li><a href="#associatedconstant.NO_CID_AVAILABLE_FOR_PATH" title="NO_CID_AVAILABLE_FOR_PATH">NO_CID_AVAILABLE_FOR_PATH</a></li><li><a href="#associatedconstant.NO_ERROR" title="NO_ERROR">NO_ERROR</a></li><li><a href="#associatedconstant.NO_VIABLE_PATH" title="NO_VIABLE_PATH">NO_VIABLE_PATH</a></li><li><a href="#associatedconstant.PATH_RESOURCE_LIMIT_REACHED" title="PATH_RESOURCE_LIMIT_REACHED">PATH_RESOURCE_LIMIT_REACHED</a></li><li><a href="#associatedconstant.PATH_UNSTABLE_OR_POOR" title="PATH_UNSTABLE_OR_POOR">PATH_UNSTABLE_OR_POOR</a></li><li><a href="#associatedconstant.PROTOCOL_VIOLATION" title="PROTOCOL_VIOLATION">PROTOCOL_VIOLATION</a></li><li><a href="#associatedconstant.STREAM_LIMIT_ERROR" title="STREAM_LIMIT_ERROR">STREAM_LIMIT_ERROR</a></li><li><a href="#associatedconstant.STREAM_STATE_ERROR" title="STREAM_STATE_ERROR">STREAM_STATE_ERROR</a></li><li><a href="#associatedconstant.TRANSPORT_PARAMETER_ERROR" title="TRANSPORT_PARAMETER_ERROR">TRANSPORT_PARAMETER_ERROR</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.crypto" title="crypto">crypto</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-TransportErrorCode" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-TransportErrorCode" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-TransportErrorCode" title="Debug">Debug</a></li><li><a href="#impl-Decodable-for-TransportErrorCode" title="Decodable">Decodable</a></li><li><a href="#impl-Display-for-TransportErrorCode" title="Display">Display</a></li><li><a href="#impl-Encodable-for-TransportErrorCode" title="Encodable">Encodable</a></li><li><a href="#impl-Eq-for-TransportErrorCode" title="Eq">Eq</a></li><li><a href="#impl-From%3CTransportErrorCode%3E-for-VarInt" title="From&#60;Code&#62;">From&#60;Code&#62;</a></li><li><a href="#impl-From%3CVarInt%3E-for-TransportErrorCode" title="From&#60;VarInt&#62;">From&#60;VarInt&#62;</a></li><li><a href="#impl-PartialEq-for-TransportErrorCode" title="PartialEq">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-TransportErrorCode" title="StructuralPartialEq">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-TransportErrorCode" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-TransportErrorCode" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-TransportErrorCode" title="Send">Send</a></li><li><a href="#impl-Sync-for-TransportErrorCode" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-TransportErrorCode" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-TransportErrorCode" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q" title="Equivalent&#60;K&#62;">Equivalent&#60;K&#62;</a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q-1" title="Equivalent&#60;K&#62;">Equivalent&#60;K&#62;</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-IntoEither-for-T" title="IntoEither">IntoEither</a></li><li><a href="#impl-Same-for-T" title="Same">Same</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-ToString-for-T" title="ToString">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip&#60;V&#62;">VZip&#60;V&#62;</a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate noq</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">noq</a></div><h1>Struct <span class="struct">Transport<wbr>Error<wbr>Code</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/noq_proto/transport_error.rs.html#67">Source</a> </span></div><pre class="rust item-decl"><code>pub struct TransportErrorCode(<span class="comment">/* private fields */</span>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Transport-level error code</p>
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#69">Source</a><a href="#impl-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.crypto" class="method"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#71">Source</a><h4 class="code-header">pub fn <a href="#method.crypto" class="fn">crypto</a>(code: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>) -&gt; <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>Create QUIC error code from TLS alert code</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TransportErrorCode-1" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><a href="#impl-TransportErrorCode-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.NO_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.NO_ERROR" class="constant">NO_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>the connection is being closed abruptly in the absence of any error</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.INTERNAL_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.INTERNAL_ERROR" class="constant">INTERNAL_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>the endpoint encountered an internal error and cannot continue with the connection</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.CONNECTION_REFUSED" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.CONNECTION_REFUSED" class="constant">CONNECTION_REFUSED</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>the server refused to accept a new connection</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.FLOW_CONTROL_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FLOW_CONTROL_ERROR" class="constant">FLOW_CONTROL_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>received more data than permitted in advertised data limits</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.STREAM_LIMIT_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.STREAM_LIMIT_ERROR" class="constant">STREAM_LIMIT_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>received a frame for a stream identifier that exceeded advertised the stream limit for the corresponding stream type</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.STREAM_STATE_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.STREAM_STATE_ERROR" class="constant">STREAM_STATE_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>received a frame for a stream that was not in a state that permitted that frame</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.FINAL_SIZE_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FINAL_SIZE_ERROR" class="constant">FINAL_SIZE_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>received a STREAM frame or a RESET_STREAM frame containing a different final size to the one already established</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAME_ENCODING_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAME_ENCODING_ERROR" class="constant">FRAME_ENCODING_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>received a frame that was badly formatted</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.TRANSPORT_PARAMETER_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.TRANSPORT_PARAMETER_ERROR" class="constant">TRANSPORT_PARAMETER_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>received transport parameters that were badly formatted, included an invalid value, was absent even though it is mandatory, was present though it is forbidden, or is otherwise in error</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.CONNECTION_ID_LIMIT_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.CONNECTION_ID_LIMIT_ERROR" class="constant">CONNECTION_ID_LIMIT_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>the number of connection IDs provided by the peer exceeds the advertised active_connection_id_limit</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.PROTOCOL_VIOLATION" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.PROTOCOL_VIOLATION" class="constant">PROTOCOL_VIOLATION</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>detected an error with protocol compliance that was not covered by more specific error codes</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.INVALID_TOKEN" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.INVALID_TOKEN" class="constant">INVALID_TOKEN</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>received an invalid Retry Token in a client Initial</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.APPLICATION_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.APPLICATION_ERROR" class="constant">APPLICATION_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>the application or application protocol caused the connection to be closed during the handshake</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.CRYPTO_BUFFER_EXCEEDED" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.CRYPTO_BUFFER_EXCEEDED" class="constant">CRYPTO_BUFFER_EXCEEDED</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>received more data in CRYPTO frames than can be buffered</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.KEY_UPDATE_ERROR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.KEY_UPDATE_ERROR" class="constant">KEY_UPDATE_ERROR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>key update error</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.AEAD_LIMIT_REACHED" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.AEAD_LIMIT_REACHED" class="constant">AEAD_LIMIT_REACHED</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>the endpoint has reached the confidentiality or integrity limit for the AEAD algorithm</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.NO_VIABLE_PATH" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.NO_VIABLE_PATH" class="constant">NO_VIABLE_PATH</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>no viable network path exists</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.APPLICATION_ABANDON_PATH" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.APPLICATION_ABANDON_PATH" class="constant">APPLICATION_ABANDON_PATH</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>Path abandoned at the applications request</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.PATH_RESOURCE_LIMIT_REACHED" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.PATH_RESOURCE_LIMIT_REACHED" class="constant">PATH_RESOURCE_LIMIT_REACHED</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>Path abandoned due to resource limitations in the transport</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.PATH_UNSTABLE_OR_POOR" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.PATH_UNSTABLE_OR_POOR" class="constant">PATH_UNSTABLE_OR_POOR</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>Path abandoned due to unstable interfaces</p>
</div></details><details class="toggle" open><summary><section id="associatedconstant.NO_CID_AVAILABLE_FOR_PATH" class="associatedconstant"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.NO_CID_AVAILABLE_FOR_PATH" class="constant">NO_CID_AVAILABLE_FOR_PATH</a>: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class="docblock"><p>Path abandoned due to no available connection IDs for the path</p>
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#65">Source</a><a href="#impl-Clone-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#65">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#245-247">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: &amp;Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><a href="#impl-Debug-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decodable-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#76">Source</a><a href="#impl-Decodable-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../noq_proto/coding/trait.Decodable.html" title="trait noq_proto::coding::Decodable">Decodable</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode" class="method trait-impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#77">Source</a><a href="#method.decode" class="anchor">§</a><h4 class="code-header">fn <a href="../noq_proto/coding/trait.Decodable.html#tymethod.decode" class="fn">decode</a>&lt;B&gt;(buf: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut B</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a>, <a class="struct" href="../noq_proto/coding/struct.UnexpectedEnd.html" title="struct noq_proto::coding::UnexpectedEnd">UnexpectedEnd</a>&gt;<div class="where">where
B: Buf,</div></h4></section></summary><div class='docblock'>Decode a <code>Self</code> from the provided buffer, if the buffer is large enough</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><a href="#impl-Display-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#144-166">Source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Encodable-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#82">Source</a><a href="#impl-Encodable-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../noq_proto/coding/trait.Encodable.html" title="trait noq_proto::coding::Encodable">Encodable</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.encode" class="method trait-impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#83">Source</a><a href="#method.encode" class="anchor">§</a><h4 class="code-header">fn <a href="../noq_proto/coding/trait.Encodable.html#tymethod.encode" class="fn">encode</a>&lt;B&gt;(&amp;self, buf: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut B</a>)<div class="where">where
B: BufMut,</div></h4></section></summary><div class='docblock'>Append the encoding of <code>self</code> to the provided buffer.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CTransportErrorCode%3E-for-VarInt" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#100">Source</a><a href="#impl-From%3CTransportErrorCode%3E-for-VarInt" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a>&gt; for <a class="struct" href="struct.VarInt.html" title="struct noq::VarInt">VarInt</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#101">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a>) -&gt; <a class="struct" href="struct.VarInt.html" title="struct noq::VarInt">VarInt</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CVarInt%3E-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#94">Source</a><a href="#impl-From%3CVarInt%3E-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.VarInt.html" title="struct noq::VarInt">VarInt</a>&gt; for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#95">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.VarInt.html" title="struct noq::VarInt">VarInt</a>) -&gt; <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#65">Source</a><a href="#impl-PartialEq-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#65">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
and should not be overridden without very good reason.</div></details></div></details><section id="impl-Copy-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#65">Source</a><a href="#impl-Copy-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section><section id="impl-Eq-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#65">Source</a><a href="#impl-Eq-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section><section id="impl-StructuralPartialEq-for-TransportErrorCode" class="impl"><a class="src rightside" href="../src/noq_proto/transport_error.rs.html#65">Source</a><a href="#impl-StructuralPartialEq-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-TransportErrorCode" class="impl"><a href="#impl-Freeze-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section><section id="impl-RefUnwindSafe-for-TransportErrorCode" class="impl"><a href="#impl-RefUnwindSafe-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section><section id="impl-Send-for-TransportErrorCode" class="impl"><a href="#impl-Send-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section><section id="impl-Sync-for-TransportErrorCode" class="impl"><a href="#impl-Sync-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section><section id="impl-Unpin-for-TransportErrorCode" class="impl"><a href="#impl-Unpin-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section><section id="impl-UnwindSafe-for-TransportErrorCode" class="impl"><a href="#impl-UnwindSafe-for-TransportErrorCode" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.TransportErrorCode.html" title="struct noq::TransportErrorCode">Code</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#515">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#517">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&amp;self, dest: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; Equivalent&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;Q&gt; + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent" class="method trait-impl"><a href="#method.equivalent" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if this value is equivalent to the given key. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q-1" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q-1" class="anchor">§</a><h3 class="code-header">impl&lt;Q, K&gt; Equivalent&lt;K&gt; for Q<div class="where">where
Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;Q&gt; + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent-1" class="method trait-impl"><a href="#method.equivalent-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&amp;self, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Compare self to <code>key</code> and return <code>true</code> if they are equal.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -&gt; Instrumented&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -&gt; Instrumented&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoEither-for-T" class="impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#64">Source</a><a href="#impl-IntoEither-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html" title="trait either::into_either::IntoEither">IntoEither</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_either" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#29">Source</a><a href="#method.into_either" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either" class="fn">into_either</a>(self, into_left: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;</h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
if <code>into_left</code> is <code>true</code>.
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_either_with" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#55-57">Source</a><a href="#method.into_either_with" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with" class="fn">into_either_with</a>&lt;F&gt;(self, into_left: F) -&gt; <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
if <code>into_left(&amp;self)</code> returns <code>true</code>.
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.19.0/src/typenum/type_operators.rs.html#34">Source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/typenum/1.19.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/typenum/1.19.0/src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.19.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#84-86">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#88">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#93">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToString-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2783">Source</a><a href="#impl-ToString-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_string" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2785">Source</a><a href="#method.to_string" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string" class="fn">to_string</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class='docblock'>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;V, T&gt; VZip&lt;V&gt; for T<div class="where">where
V: MultiLane&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -&gt; V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a>&lt;S&gt;(self, subscriber: S) -&gt; WithDispatch&lt;Self&gt;<div class="where">where
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;Dispatch&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -&gt; WithDispatch&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details></div></section></div></main></body></html>