Struct infinitree::crypto::RawKey
source · pub struct RawKey(_);
Expand description
A raw cryptographic key
Trait Implementations§
source§impl ExposeSecret<[u8; 32]> for RawKey
impl ExposeSecret<[u8; 32]> for RawKey
source§fn expose_secret(&self) -> &[u8; 32]
fn expose_secret(&self) -> &[u8; 32]
Expose secret: this is the only method providing access to a secret.
Auto Trait Implementations§
impl RefUnwindSafe for RawKey
impl Send for RawKey
impl Sync for RawKey
impl Unpin for RawKey
impl UnwindSafe for RawKey
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