Struct aws_lc_rs::aead::nonce_sequence::Counter32
source · pub struct Counter32 { /* private fields */ }Expand description
Counter32 is an implementation of the NonceSequence trait.
The internal state of a Counter32 is a 32-bit unsigned counter that
increments on each call to advance and an optional 8-byte identifier. Counter and identifier
values are used to construct each nonce.
A limit can be set on the number of nonces allowed to be generated, by default this limit is
u32::MAX.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Counter32
impl Send for Counter32
impl Sync for Counter32
impl Unpin for Counter32
impl UnwindSafe for Counter32
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