Struct tor_cell::relaycell::hs::Introduce1
source · pub struct Introduce1(/* private fields */);
Available on crate feature
hs
only.Expand description
A message sent from client to introduction point.
Implementations§
source§impl Introduce1
impl Introduce1
Trait Implementations§
source§impl Body for Introduce1
impl Body for Introduce1
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 Introduce1
impl Clone for Introduce1
source§fn clone(&self) -> Introduce1
fn clone(&self) -> Introduce1
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 Introduce1
impl Debug for Introduce1
source§impl From<Introduce1> for AnyRelayMsg
impl From<Introduce1> for AnyRelayMsg
source§fn from(m: Introduce1) -> AnyRelayMsg
fn from(m: Introduce1) -> AnyRelayMsg
Converts to this type from the input type.
source§impl RelayMsg for Introduce1
impl RelayMsg for Introduce1
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 Introduce1
impl TryFrom<AnyRelayMsg> for Introduce1
source§fn try_from(msg: AnyRelayMsg) -> Result<Introduce1>
fn try_from(msg: AnyRelayMsg) -> Result<Introduce1>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for Introduce1
impl RefUnwindSafe for Introduce1
impl Send for Introduce1
impl Sync for Introduce1
impl Unpin for Introduce1
impl UnwindSafe for Introduce1
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