#[repr(usize)]pub enum ScramTypeAlias {
Sha1 = 0,
Sha256 = 1,
Sha256Plus = 2,
Sha512 = 3,
Sha512Plus = 4,
}Expand description
A numeric alias for the SCRAM_TYPES. If any changes were made in SCRAM_TYPES then verify that ScramTypeAlias is in order.
Variants§
Trait Implementations§
Source§impl Clone for ScramTypeAlias
impl Clone for ScramTypeAlias
Source§fn clone(&self) -> ScramTypeAlias
fn clone(&self) -> ScramTypeAlias
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 ScramTypeAlias
impl Debug for ScramTypeAlias
Source§impl From<ScramTypeAlias> for usize
impl From<ScramTypeAlias> for usize
Source§fn from(value: ScramTypeAlias) -> Self
fn from(value: ScramTypeAlias) -> Self
Converts to this type from the input type.
Source§impl Ord for ScramTypeAlias
impl Ord for ScramTypeAlias
Source§fn cmp(&self, other: &ScramTypeAlias) -> Ordering
fn cmp(&self, other: &ScramTypeAlias) -> 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<ScramTypeAlias> for ScramType
impl PartialEq<ScramTypeAlias> for ScramType
Source§impl PartialEq for ScramTypeAlias
impl PartialEq for ScramTypeAlias
Source§impl PartialOrd for ScramTypeAlias
impl PartialOrd for ScramTypeAlias
impl Copy for ScramTypeAlias
impl Eq for ScramTypeAlias
impl StructuralPartialEq for ScramTypeAlias
Auto Trait Implementations§
impl Freeze for ScramTypeAlias
impl RefUnwindSafe for ScramTypeAlias
impl Send for ScramTypeAlias
impl Sync for ScramTypeAlias
impl Unpin for ScramTypeAlias
impl UnwindSafe for ScramTypeAlias
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