pub struct SessionId(pub [u8; 32]);Available on crate feature
std only.Expand description
256-bit Session Identifier
Used as salt for encryption and session persistence across IP changes. Post-quantum safe size (32 bytes = 256 bits).
Tuple Fields§
§0: [u8; 32]Implementations§
Trait Implementations§
impl Copy for SessionId
impl Eq for SessionId
impl StructuralPartialEq for SessionId
Auto Trait Implementations§
impl Freeze for SessionId
impl RefUnwindSafe for SessionId
impl Send for SessionId
impl Sync for SessionId
impl Unpin for SessionId
impl UnsafeUnpin for SessionId
impl UnwindSafe for SessionId
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