pub struct AuthChallenge { /* private fields */ }
Expand description
An AuthChallenge message is part of negotiation, sent by responders to initiators.
The AuthChallenge cell is used to ensure that some unpredictable material has been sent on the channel, and to tell the initiator what authentication methods will be accepted.
Clients can safely ignore this message: they don’t need to authenticate.
Implementations
Trait Implementations
sourceimpl Body for AuthChallenge
impl Body for AuthChallenge
sourcefn into_message(self) -> ChanMsg
fn into_message(self) -> ChanMsg
Convert this type into a ChanMsg, wrapped as appropriate.
sourceimpl Clone for AuthChallenge
impl Clone for AuthChallenge
sourcefn clone(&self) -> AuthChallenge
fn clone(&self) -> AuthChallenge
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuthChallenge
impl Debug for AuthChallenge
sourceimpl From<AuthChallenge> for ChanCell
impl From<AuthChallenge> for ChanCell
sourcefn from(body: AuthChallenge) -> ChanCell
fn from(body: AuthChallenge) -> ChanCell
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AuthChallenge
impl Send for AuthChallenge
impl Sync for AuthChallenge
impl Unpin for AuthChallenge
impl UnwindSafe for AuthChallenge
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more