pub struct KeyFixed<const N: usize> { /* private fields */ }Expand description
An owned, fixed-size key array that is wiped on drop.
No allocator is required. The engine validates whether the size is suitable. Storing an array here does not erase other copies, including the caller’s original array.
Implementations§
Trait Implementations§
impl<const N: usize> ZeroizeOnDrop for KeyFixed<N>
Auto Trait Implementations§
impl<const N: usize> Forget for KeyFixed<N>
impl<const N: usize> Freeze for KeyFixed<N>
impl<const N: usize> Move for KeyFixed<N>
impl<const N: usize> RefUnwindSafe for KeyFixed<N>
impl<const N: usize> Send for KeyFixed<N>
impl<const N: usize> Sync for KeyFixed<N>
impl<const N: usize> Unpin for KeyFixed<N>
impl<const N: usize> UnsafeUnpin for KeyFixed<N>
impl<const N: usize> UnwindSafe for KeyFixed<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