pub enum CipherKey {
ArrayU8([u8; 32]),
ArrayU32([u32; 8]),
}
Expand description
Passing cipher keys in a polymorphic way
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CipherKey
impl RefUnwindSafe for CipherKey
impl Send for CipherKey
impl Sync for CipherKey
impl Unpin for CipherKey
impl UnwindSafe for CipherKey
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