Struct tor_hscrypto::RendCookie
source · pub struct RendCookie(/* private fields */);
Expand description
An opaque value RENDEZVOUS_COOKIE
used at a rendezvous point to match clients and services.
See rend-spec-v3 s4.1.
The client includes this value to the rendezvous point in its
ESTABLISH_RENDEZVOUS
message; the service later provides the same value in its
RENDEZVOUS1
message.
Trait Implementations§
source§impl Clone for RendCookie
impl Clone for RendCookie
source§fn clone(&self) -> RendCookie
fn clone(&self) -> RendCookie
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 RendCookie
impl Debug for RendCookie
source§impl Distribution<RendCookie> for Standard
impl Distribution<RendCookie> for Standard
source§impl PartialEq for RendCookie
impl PartialEq for RendCookie
source§fn eq(&self, other: &RendCookie) -> bool
fn eq(&self, other: &RendCookie) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for RendCookie
impl Readable for RendCookie
source§impl Writeable for RendCookie
impl Writeable for RendCookie
source§fn write_onto<B: Writer + ?Sized>(&self, w: &mut B) -> EncodeResult<()>
fn write_onto<B: Writer + ?Sized>(&self, w: &mut B) -> EncodeResult<()>
Encode this object into the writer
b
.impl Copy for RendCookie
impl Eq for RendCookie
impl StructuralPartialEq for RendCookie
Auto Trait Implementations§
impl Freeze for RendCookie
impl RefUnwindSafe for RendCookie
impl Send for RendCookie
impl Sync for RendCookie
impl Unpin for RendCookie
impl UnwindSafe for RendCookie
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§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>,
§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.