pub struct Ciphertext<'a>(/* private fields */);
Expand description
A set of encrypted bytes produced by EncapsulationKey::encapsulate
,
and used as an input to DecapsulationKey::decapsulate
.
Trait Implementations§
Source§impl AsRef<[u8]> for Ciphertext<'_>
impl AsRef<[u8]> for Ciphertext<'_>
Source§impl Drop for Ciphertext<'_>
impl Drop for Ciphertext<'_>
Auto Trait Implementations§
impl<'a> Freeze for Ciphertext<'a>
impl<'a> RefUnwindSafe for Ciphertext<'a>
impl<'a> Send for Ciphertext<'a>
impl<'a> Sync for Ciphertext<'a>
impl<'a> Unpin for Ciphertext<'a>
impl<'a> UnwindSafe for Ciphertext<'a>
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