pub enum ConfidentialityReason {
NoKemKey,
KeyMismatch,
ReplyNotOpened,
NoSignedState,
}Expand description
Why a call could not be kept confidential, as macula’s {error, {confidentiality, Reason}} names it.
Variants§
NoKemKey
The provider names a key this node cannot seal to, or none where the call requires one.
KeyMismatch
The provider’s sealed_refused named one key and its advertisement another.
ReplyNotOpened
A sealed answer that does not open. It is signed by the provider and bound to its request, so it is the only answer the request gets.
NoSignedState
A call or an open to a provider that states neither a key to seal to nor the clear. Nothing is sent.
Implementations§
Trait Implementations§
Source§impl Clone for ConfidentialityReason
impl Clone for ConfidentialityReason
impl Copy for ConfidentialityReason
Source§impl Debug for ConfidentialityReason
impl Debug for ConfidentialityReason
impl Eq for ConfidentialityReason
Source§impl PartialEq for ConfidentialityReason
impl PartialEq for ConfidentialityReason
impl StructuralPartialEq for ConfidentialityReason
Auto Trait Implementations§
impl Freeze for ConfidentialityReason
impl RefUnwindSafe for ConfidentialityReason
impl Send for ConfidentialityReason
impl Sync for ConfidentialityReason
impl Unpin for ConfidentialityReason
impl UnsafeUnpin for ConfidentialityReason
impl UnwindSafe for ConfidentialityReason
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