Enum fog_crypto::lockbox::LockboxType
source · pub enum LockboxType {
Identity(bool),
Stream(bool),
Lock(bool),
Data(bool),
}
Expand description
Encodes the various types of lockboxes that may be decoded.
Each lockbox type can have a StreamKey
recipient, in which case
the held boolean should be set to true.
Variants§
Implementations§
source§impl LockboxType
impl LockboxType
Auto Trait Implementations§
impl RefUnwindSafe for LockboxType
impl Send for LockboxType
impl Sync for LockboxType
impl Unpin for LockboxType
impl UnwindSafe for LockboxType
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