Enum oath_authenticator::oath::Tag
source · [−]#[repr(u8)]
pub enum Tag {
Name,
NameList,
Key,
Challenge,
Response,
TruncatedResponse,
Hotp,
Property,
Version,
InitialMovingFactor,
Algorithm,
Touch,
}
Variants
Name
NameList
Key
Challenge
Response
TruncatedResponse
Tag denots what follows is (digits, dynamically truncated HMAC digest)
The client then further processes u32::from_be_bytes(truncated-digest)/10**digits.
Hotp
Property
Version
InitialMovingFactor
Algorithm
Touch
Trait Implementations
impl Copy for Tag
impl Eq for Tag
impl StructuralEq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more