Struct tor_cell::relaycell::hs::IntroEstablished
source · pub struct IntroEstablished { /* private fields */ }Available on crate feature
hs only.Expand description
Reply sent from the introduction point to the onion service, telling it that an introduction point is now established.
Implementations§
source§impl IntroEstablished
impl IntroEstablished
sourcepub fn iter_extensions(&self) -> impl Iterator<Item = &IntroEstablishedExt>
pub fn iter_extensions(&self) -> impl Iterator<Item = &IntroEstablishedExt>
Return an iterator over the extensions declared in this message.
Trait Implementations§
source§impl Body for IntroEstablished
impl Body for IntroEstablished
source§fn decode_from_reader(r: &mut Reader<'_>) -> Result<Self>
fn decode_from_reader(r: &mut Reader<'_>) -> Result<Self>
Decode a relay cell body from a provided reader.
source§fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
Encode the body of this cell into the end of a writer.
source§impl Clone for IntroEstablished
impl Clone for IntroEstablished
source§fn clone(&self) -> IntroEstablished
fn clone(&self) -> IntroEstablished
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 IntroEstablished
impl Debug for IntroEstablished
source§impl Default for IntroEstablished
impl Default for IntroEstablished
source§fn default() -> IntroEstablished
fn default() -> IntroEstablished
Returns the “default value” for a type. Read more
source§impl From<IntroEstablished> for AnyRelayMsg
impl From<IntroEstablished> for AnyRelayMsg
source§fn from(m: IntroEstablished) -> AnyRelayMsg
fn from(m: IntroEstablished) -> AnyRelayMsg
Converts to this type from the input type.
source§impl RelayMsg for IntroEstablished
impl RelayMsg for IntroEstablished
source§fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
Encode the body of this message, not including command or length
source§impl TryFrom<AnyRelayMsg> for IntroEstablished
impl TryFrom<AnyRelayMsg> for IntroEstablished
source§fn try_from(msg: AnyRelayMsg) -> Result<IntroEstablished>
fn try_from(msg: AnyRelayMsg) -> Result<IntroEstablished>
Performs the conversion.
Auto Trait Implementations§
impl RefUnwindSafe for IntroEstablished
impl Send for IntroEstablished
impl Sync for IntroEstablished
impl Unpin for IntroEstablished
impl UnwindSafe for IntroEstablished
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