pub struct KeyWithRaw { /* private fields */ }Expand description
A key that contains both the raw key bytes and the associated identity.
This struct wraps a 32-byte key with its corresponding identity implementation, providing access to both the raw key material and the identity interface.
Implementations§
Trait Implementations§
Source§impl Clone for KeyWithRaw
impl Clone for KeyWithRaw
Source§fn clone(&self) -> KeyWithRaw
fn clone(&self) -> KeyWithRaw
Returns a duplicate of the value. Read more
1.0.0 · 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 KeyWithRaw
impl !RefUnwindSafe for KeyWithRaw
impl Send for KeyWithRaw
impl Sync for KeyWithRaw
impl Unpin for KeyWithRaw
impl !UnwindSafe for KeyWithRaw
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