pub struct TokenKey(pub [u8; 32]);
Expand description
A 256-bit key used for encrypting and authenticating retry tokens. Used with AES-256-GCM for authenticated encryption of token contents.
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenKey
impl RefUnwindSafe for TokenKey
impl Send for TokenKey
impl Sync for TokenKey
impl Unpin for TokenKey
impl UnwindSafe for TokenKey
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