#[repr(u16)]pub enum AuthDataMode {
None = 0,
Symmetric = 1,
Nts = 2,
}Variants§
Trait Implementations§
Source§impl Clone for AuthDataMode
impl Clone for AuthDataMode
Source§fn clone(&self) -> AuthDataMode
fn clone(&self) -> AuthDataMode
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 AuthDataMode
impl Debug for AuthDataMode
Source§impl From<AuthDataMode> for u16
impl From<AuthDataMode> for u16
Source§fn from(enum_value: AuthDataMode) -> Self
fn from(enum_value: AuthDataMode) -> Self
Converts to this type from the input type.
Source§impl Hash for AuthDataMode
impl Hash for AuthDataMode
Source§impl Ord for AuthDataMode
impl Ord for AuthDataMode
Source§fn cmp(&self, other: &AuthDataMode) -> Ordering
fn cmp(&self, other: &AuthDataMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuthDataMode
impl PartialEq for AuthDataMode
Source§impl PartialOrd for AuthDataMode
impl PartialOrd for AuthDataMode
Source§impl TryFrom<u16> for AuthDataMode
impl TryFrom<u16> for AuthDataMode
Source§type Error = TryFromPrimitiveError<AuthDataMode>
type Error = TryFromPrimitiveError<AuthDataMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AuthDataMode
impl TryFromPrimitive for AuthDataMode
impl Copy for AuthDataMode
impl Eq for AuthDataMode
impl StructuralPartialEq for AuthDataMode
Auto Trait Implementations§
impl Freeze for AuthDataMode
impl RefUnwindSafe for AuthDataMode
impl Send for AuthDataMode
impl Sync for AuthDataMode
impl Unpin for AuthDataMode
impl UnwindSafe for AuthDataMode
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