pub enum TOTPAlgorithm {
Sha1,
Sha256,
Sha512,
}Expand description
Choices of hash algorithm for TOTP
Variants§
Trait Implementations§
Source§impl Debug for TOTPAlgorithm
impl Debug for TOTPAlgorithm
Source§impl Display for TOTPAlgorithm
impl Display for TOTPAlgorithm
Source§impl Drop for TOTPAlgorithm
impl Drop for TOTPAlgorithm
Source§impl FromStr for TOTPAlgorithm
impl FromStr for TOTPAlgorithm
Source§impl PartialEq for TOTPAlgorithm
impl PartialEq for TOTPAlgorithm
Source§impl Zeroize for TOTPAlgorithm
impl Zeroize for TOTPAlgorithm
impl Eq for TOTPAlgorithm
impl StructuralPartialEq for TOTPAlgorithm
Auto Trait Implementations§
impl Freeze for TOTPAlgorithm
impl RefUnwindSafe for TOTPAlgorithm
impl Send for TOTPAlgorithm
impl Sync for TOTPAlgorithm
impl Unpin for TOTPAlgorithm
impl UnwindSafe for TOTPAlgorithm
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