Enum ecksport_core::state_mach::ClientState
source · pub enum ClientState<A: AuthConfig> {
WaitServerHello {
auth: A,
protocol: Topic,
sent_chal: Option<ChallengeData>,
},
Ready {
auth: A,
},
Fail,
}Expand description
Client handshake state machine.
Variants§
Implementations§
Trait Implementations§
source§impl<A: Clone + AuthConfig> Clone for ClientState<A>
impl<A: Clone + AuthConfig> Clone for ClientState<A>
source§fn clone(&self) -> ClientState<A>
fn clone(&self) -> ClientState<A>
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 moreAuto Trait Implementations§
impl<A> Freeze for ClientState<A>where
A: Freeze,
impl<A> RefUnwindSafe for ClientState<A>where
A: RefUnwindSafe,
impl<A> Send for ClientState<A>where
A: Send,
impl<A> Sync for ClientState<A>where
A: Sync,
impl<A> Unpin for ClientState<A>where
A: Unpin,
impl<A> UnwindSafe for ClientState<A>where
A: 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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)