pub struct AuthenticatorKeyReplayCounter(/* private fields */);
Expand description
Represents the current value of an Authenticator’s Key Replay Counter as defined in IEEE 802.11-2016 12.7.2 EAPOL-Key frames.
Implementations§
source§impl AuthenticatorKeyReplayCounter
impl AuthenticatorKeyReplayCounter
pub fn next_after(key_replay_counter: u64) -> Self
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Clone for AuthenticatorKeyReplayCounter
impl Clone for AuthenticatorKeyReplayCounter
source§fn clone(&self) -> AuthenticatorKeyReplayCounter
fn clone(&self) -> AuthenticatorKeyReplayCounter
Returns a copy 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 PartialEq for AuthenticatorKeyReplayCounter
impl PartialEq for AuthenticatorKeyReplayCounter
source§fn eq(&self, other: &AuthenticatorKeyReplayCounter) -> bool
fn eq(&self, other: &AuthenticatorKeyReplayCounter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AuthenticatorKeyReplayCounter
impl Eq for AuthenticatorKeyReplayCounter
impl StructuralPartialEq for AuthenticatorKeyReplayCounter
Auto Trait Implementations§
impl Freeze for AuthenticatorKeyReplayCounter
impl RefUnwindSafe for AuthenticatorKeyReplayCounter
impl Send for AuthenticatorKeyReplayCounter
impl Sync for AuthenticatorKeyReplayCounter
impl Unpin for AuthenticatorKeyReplayCounter
impl UnwindSafe for AuthenticatorKeyReplayCounter
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)