pub struct Key<const N: usize>(/* private fields */);Expand description
定长密钥(如 Key<32>、Key<16>)。构造后不可变。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> Freeze for Key<N>
impl<const N: usize> RefUnwindSafe for Key<N>
impl<const N: usize> Send for Key<N>
impl<const N: usize> Sync for Key<N>
impl<const N: usize> Unpin for Key<N>
impl<const N: usize> UnsafeUnpin for Key<N>
impl<const N: usize> UnwindSafe for Key<N>
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