#[non_exhaustive]pub enum ClientStateKind {
Configured,
Authenticated,
Connecting,
Connected,
Disconnecting,
Closed,
}Expand description
Runtime discriminator mirroring the typestate markers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Configured
Configured.
Authenticated
Authenticated (DPlus only).
Connecting
Connecting.
Connected
Connected.
Disconnecting
Disconnecting.
Closed
Closed.
Trait Implementations§
Source§impl Clone for ClientStateKind
impl Clone for ClientStateKind
Source§fn clone(&self) -> ClientStateKind
fn clone(&self) -> ClientStateKind
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 Debug for ClientStateKind
impl Debug for ClientStateKind
Source§impl Hash for ClientStateKind
impl Hash for ClientStateKind
Source§impl PartialEq for ClientStateKind
impl PartialEq for ClientStateKind
impl Copy for ClientStateKind
impl Eq for ClientStateKind
impl StructuralPartialEq for ClientStateKind
Auto Trait Implementations§
impl Freeze for ClientStateKind
impl RefUnwindSafe for ClientStateKind
impl Send for ClientStateKind
impl Sync for ClientStateKind
impl Unpin for ClientStateKind
impl UnwindSafe for ClientStateKind
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