pub struct Key(/* private fields */);
Expand description
Hawk key.
While any sequence of bytes can be specified as a key, note that each digest algorithm has a suggested key length, and that passwords should not be used as keys. Keys of incorrect length are handled according to the digest’s implementation.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl !UnwindSafe for Key
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