pub enum PeerProofAssurance {
Disabled,
ConfidentialChannel,
ChannelBound(ChannelBinding),
}Variants§
Disabled
ConfidentialChannel
Assert confidentiality, integrity and endpoint confinement of the entire adopted channel, including proxies and plaintext forwarding legs. This enables unbound live proofs; it does not encrypt the transport.
ChannelBound(ChannelBinding)
Both sides prove their By identity against this immutable local binding.
Trait Implementations§
Source§impl Clone for PeerProofAssurance
impl Clone for PeerProofAssurance
Source§fn clone(&self) -> PeerProofAssurance
fn clone(&self) -> PeerProofAssurance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PeerProofAssurance
Source§impl Debug for PeerProofAssurance
impl Debug for PeerProofAssurance
Source§impl Default for PeerProofAssurance
impl Default for PeerProofAssurance
Source§fn default() -> PeerProofAssurance
fn default() -> PeerProofAssurance
Returns the “default value” for a type. Read more
impl Eq for PeerProofAssurance
Source§impl PartialEq for PeerProofAssurance
impl PartialEq for PeerProofAssurance
Source§fn eq(&self, other: &PeerProofAssurance) -> bool
fn eq(&self, other: &PeerProofAssurance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PeerProofAssurance
Auto Trait Implementations§
impl Freeze for PeerProofAssurance
impl RefUnwindSafe for PeerProofAssurance
impl Send for PeerProofAssurance
impl Sync for PeerProofAssurance
impl Unpin for PeerProofAssurance
impl UnsafeUnpin for PeerProofAssurance
impl UnwindSafe for PeerProofAssurance
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