Struct tor_cell::relaycell::hs::IntroduceHeader
source · pub struct IntroduceHeader { /* private fields */ }Available on crate feature
hs only.Expand description
The unencrypted header portion of an Introduce1 or Introduce2 message.
This is a separate type because the hs_ntor handshake requires access to the
encoded format of the header, only.
Trait Implementations§
source§impl Clone for IntroduceHeader
impl Clone for IntroduceHeader
source§fn clone(&self) -> IntroduceHeader
fn clone(&self) -> IntroduceHeader
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 IntroduceHeader
impl Debug for IntroduceHeader
source§impl Readable for IntroduceHeader
impl Readable for IntroduceHeader
source§impl Writeable for IntroduceHeader
impl Writeable for IntroduceHeader
source§fn write_onto<W: Writer + ?Sized>(&self, w: &mut W) -> EncodeResult<()>
fn write_onto<W: Writer + ?Sized>(&self, w: &mut W) -> EncodeResult<()>
Encode this object into the writer
b.Auto Trait Implementations§
impl RefUnwindSafe for IntroduceHeader
impl Send for IntroduceHeader
impl Sync for IntroduceHeader
impl Unpin for IntroduceHeader
impl UnwindSafe for IntroduceHeader
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> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,
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>where
B: Writer + ?Sized,
fn write_into<B>(self, b: &mut B) -> Result<(), EncodeError>where B: Writer + ?Sized,
Encode this object into the writer
b, and consume it.