pub struct KeyText<K: Key> { /* private fields */ }Expand description
A plaintext encoding of a key.
Be advised that this encoding has no extra security, so it is not safe to transport as is.
Implementations§
Trait Implementations§
Source§impl<K: Key> Ord for KeyText<K>
impl<K: Key> Ord for KeyText<K>
Source§impl<K: Key> PartialOrd for KeyText<K>
impl<K: Key> PartialOrd for KeyText<K>
impl<K: Key> Eq for KeyText<K>
Auto Trait Implementations§
impl<K> Freeze for KeyText<K>
impl<K> RefUnwindSafe for KeyText<K>where
K: RefUnwindSafe,
impl<K> Send for KeyText<K>where
K: Send,
impl<K> Sync for KeyText<K>where
K: Sync,
impl<K> Unpin for KeyText<K>where
K: Unpin,
impl<K> UnwindSafe for KeyText<K>where
K: UnwindSafe,
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