pub struct SessionSecret(/* private fields */);Expand description
Per-session HMAC key. Wraps an opaque byte slice; debug-prints as
SessionSecret(<redacted>) so it never accidentally lands in logs.
Implementations§
Trait Implementations§
Source§impl Clone for SessionSecret
impl Clone for SessionSecret
Source§fn clone(&self) -> SessionSecret
fn clone(&self) -> SessionSecret
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 moreAuto Trait Implementations§
impl Freeze for SessionSecret
impl RefUnwindSafe for SessionSecret
impl Send for SessionSecret
impl Sync for SessionSecret
impl Unpin for SessionSecret
impl UnsafeUnpin for SessionSecret
impl UnwindSafe for SessionSecret
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