pub struct ValidationWindow { /* private fields */ }Expand description
A bounded TOTP validation window.
The window is expressed in time steps, not seconds. RFC 6238 recommends allowing at most one past step for ordinary network delay. Clock-drift resynchronization policy may deliberately use another bounded value.
Implementations§
Source§impl ValidationWindow
impl ValidationWindow
Trait Implementations§
Source§impl Clone for ValidationWindow
impl Clone for ValidationWindow
Source§fn clone(&self) -> ValidationWindow
fn clone(&self) -> ValidationWindow
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 moreimpl Copy for ValidationWindow
Source§impl Debug for ValidationWindow
impl Debug for ValidationWindow
Source§impl Default for ValidationWindow
impl Default for ValidationWindow
impl Eq for ValidationWindow
Source§impl Hash for ValidationWindow
impl Hash for ValidationWindow
Source§impl PartialEq for ValidationWindow
impl PartialEq for ValidationWindow
impl StructuralPartialEq for ValidationWindow
Auto Trait Implementations§
impl Freeze for ValidationWindow
impl RefUnwindSafe for ValidationWindow
impl Send for ValidationWindow
impl Sync for ValidationWindow
impl Unpin for ValidationWindow
impl UnsafeUnpin for ValidationWindow
impl UnwindSafe for ValidationWindow
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