pub struct MlKemCiphertext<const SIZE: usize> { /* private fields */ }
Expand description
An ML-KEM Ciphertext
Implementations§
Trait Implementations§
Source§impl<const SIZE: usize> Default for MlKemCiphertext<SIZE>
impl<const SIZE: usize> Default for MlKemCiphertext<SIZE>
Source§impl<const SIZE: usize> From<MlKemCiphertext<SIZE>> for [u8; SIZE]
impl<const SIZE: usize> From<MlKemCiphertext<SIZE>> for [u8; SIZE]
Source§fn from(value: MlKemCiphertext<SIZE>) -> Self
fn from(value: MlKemCiphertext<SIZE>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<const SIZE: usize> Freeze for MlKemCiphertext<SIZE>
impl<const SIZE: usize> RefUnwindSafe for MlKemCiphertext<SIZE>
impl<const SIZE: usize> Send for MlKemCiphertext<SIZE>
impl<const SIZE: usize> Sync for MlKemCiphertext<SIZE>
impl<const SIZE: usize> Unpin for MlKemCiphertext<SIZE>
impl<const SIZE: usize> UnwindSafe for MlKemCiphertext<SIZE>
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