Enum tor_cell::relaycell::hs::IntroEstablishedExt
source · #[non_exhaustive]pub enum IntroEstablishedExt {
Unrecognized(UnrecognizedExt<IntroEstablishedExtType>),
}
Available on crate feature
hs
only.Expand description
An extension to an IntroEstablished message.
(Currently, no extensions of this type are recognized)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unrecognized(UnrecognizedExt<IntroEstablishedExtType>)
An extension of a type we do not recognize, or which we have not encoded.
Trait Implementations§
source§impl Clone for IntroEstablishedExt
impl Clone for IntroEstablishedExt
source§fn clone(&self) -> IntroEstablishedExt
fn clone(&self) -> IntroEstablishedExt
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IntroEstablishedExt
impl Debug for IntroEstablishedExt
source§impl From<UnrecognizedExt<IntroEstablishedExtType>> for IntroEstablishedExt
impl From<UnrecognizedExt<IntroEstablishedExtType>> for IntroEstablishedExt
source§fn from(val: UnrecognizedExt<IntroEstablishedExtType>) -> IntroEstablishedExt
fn from(val: UnrecognizedExt<IntroEstablishedExtType>) -> IntroEstablishedExt
Converts to this type from the input type.
source§impl Readable for IntroEstablishedExt
impl Readable for IntroEstablishedExt
source§impl Writeable for IntroEstablishedExt
impl Writeable for IntroEstablishedExt
source§fn write_onto<B: Writer + ?Sized>(&self, b: &mut B) -> EncodeResult<()>
fn write_onto<B: Writer + ?Sized>(&self, b: &mut B) -> EncodeResult<()>
Encode this object into the writer
b
.Auto Trait Implementations§
impl Freeze for IntroEstablishedExt
impl RefUnwindSafe for IntroEstablishedExt
impl Send for IntroEstablishedExt
impl Sync for IntroEstablishedExt
impl Unpin for IntroEstablishedExt
impl UnwindSafe for IntroEstablishedExt
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<W> WriteableOnce for Wwhere
W: Writeable,
impl<W> WriteableOnce for Wwhere
W: Writeable,
source§fn write_into<B>(self, b: &mut B) -> Result<(), EncodeError>
fn write_into<B>(self, b: &mut B) -> Result<(), EncodeError>
Encode this object into the writer
b
, and consume it.