pub enum CryptoStrength {
Deprecated,
Weak,
Acceptable,
Strong,
Unknown,
}Expand description
Cryptographic strength labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CryptoStrength
impl Clone for CryptoStrength
Source§fn clone(&self) -> CryptoStrength
fn clone(&self) -> CryptoStrength
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CryptoStrength
impl Debug for CryptoStrength
Source§impl Display for CryptoStrength
impl Display for CryptoStrength
Source§impl FromStr for CryptoStrength
impl FromStr for CryptoStrength
Source§type Err = CryptoParseError
type Err = CryptoParseError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<CryptoStrength, <CryptoStrength as FromStr>::Err>
fn from_str( input: &str, ) -> Result<CryptoStrength, <CryptoStrength as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for CryptoStrength
impl Hash for CryptoStrength
Source§impl Ord for CryptoStrength
impl Ord for CryptoStrength
Source§fn cmp(&self, other: &CryptoStrength) -> Ordering
fn cmp(&self, other: &CryptoStrength) -> Ordering
1.21.0 (const: unstable) · 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 CryptoStrength
impl PartialEq for CryptoStrength
Source§fn eq(&self, other: &CryptoStrength) -> bool
fn eq(&self, other: &CryptoStrength) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CryptoStrength
impl PartialOrd for CryptoStrength
impl Copy for CryptoStrength
impl Eq for CryptoStrength
impl StructuralPartialEq for CryptoStrength
Auto Trait Implementations§
impl Freeze for CryptoStrength
impl RefUnwindSafe for CryptoStrength
impl Send for CryptoStrength
impl Sync for CryptoStrength
impl Unpin for CryptoStrength
impl UnsafeUnpin for CryptoStrength
impl UnwindSafe for CryptoStrength
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