pub enum Seal {
Clear,
To(Vec<u8>),
}Expand description
How a call or an open to a provider is kept.
Variants§
Clear
In the clear, by the application’s own decision: only for a provider
whose advertisement names no key. On a link nothing checks that: a
pool refuses a clear call to a provider that names a key, but a
direct super::Link caller must read the advertisement itself.
To(Vec<u8>)
Sealed to this KEM key as carried, the one the provider’s verified advertisement names.
Trait Implementations§
impl Eq for Seal
impl StructuralPartialEq for Seal
Auto Trait Implementations§
impl Freeze for Seal
impl RefUnwindSafe for Seal
impl Send for Seal
impl Sync for Seal
impl Unpin for Seal
impl UnsafeUnpin for Seal
impl UnwindSafe for Seal
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