pub struct StartEstablished<I> {
pub orig_challenge: StartChallenge,
pub session_id: I,
}
Expand description
Message of the Start protocol that confirms the establishment of a session.
§Generic parameters
I
is for session identifier.
Fields§
§orig_challenge: StartChallenge
Challenge that was used in the initiation message to establish correspondence.
session_id: I
Session ID that was selected by the recipient.
Trait Implementations§
Source§impl<I: Clone> Clone for StartEstablished<I>
impl<I: Clone> Clone for StartEstablished<I>
Source§fn clone(&self) -> StartEstablished<I>
fn clone(&self) -> StartEstablished<I>
Returns a duplicate 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<I: Debug> Debug for StartEstablished<I>
impl<I: Debug> Debug for StartEstablished<I>
Source§impl<I: PartialEq> PartialEq for StartEstablished<I>
impl<I: PartialEq> PartialEq for StartEstablished<I>
impl<I: Eq> Eq for StartEstablished<I>
impl<I> StructuralPartialEq for StartEstablished<I>
Auto Trait Implementations§
impl<I> Freeze for StartEstablished<I>where
I: Freeze,
impl<I> RefUnwindSafe for StartEstablished<I>where
I: RefUnwindSafe,
impl<I> Send for StartEstablished<I>where
I: Send,
impl<I> Sync for StartEstablished<I>where
I: Sync,
impl<I> Unpin for StartEstablished<I>where
I: Unpin,
impl<I> UnwindSafe for StartEstablished<I>where
I: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. 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