Struct hpke::aead::ExportOnlyAead
source · pub struct ExportOnlyAead;
Expand description
An AEAD which can only be used for its export()
function. The open()
and seal()
methods on an AeadCtxR
or AeadCtxS
which uses this AEAD underlyingly will panic if you
call them
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ExportOnlyAead
impl Send for ExportOnlyAead
impl Sync for ExportOnlyAead
impl Unpin for ExportOnlyAead
impl UnwindSafe for ExportOnlyAead
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