pub enum Confidentiality {
Preferred,
Required,
Off,
}Expand description
How a procedure takes its requests, and how a pool’s call or open must be kept, as macula-go’s stationlink.Confidentiality.
Serving: Preferred, the default, names this node’s KEM key in the
advertisement when the link’s kem_advertise is on, and still takes a
clear request while the procedure’s last keyless advertisement could be
served, then refuses it sealed_required. Required names the key and
refuses every clear request; it needs kem_advertise on. Off names no
key: the procedure is served in the clear.
Calling through a pool: Preferred seals to a provider that names a key
and calls one that names none in the clear; Required never calls one
that names none. Off is refused: a clear call is an explicit target’s
(a Seal::Clear on a link).
Variants§
Trait Implementations§
Source§impl Clone for Confidentiality
impl Clone for Confidentiality
impl Copy for Confidentiality
Source§impl Debug for Confidentiality
impl Debug for Confidentiality
Source§impl Default for Confidentiality
impl Default for Confidentiality
impl Eq for Confidentiality
Source§impl FromStr for Confidentiality
impl FromStr for Confidentiality
Source§impl PartialEq for Confidentiality
impl PartialEq for Confidentiality
impl StructuralPartialEq for Confidentiality
Auto Trait Implementations§
impl Freeze for Confidentiality
impl RefUnwindSafe for Confidentiality
impl Send for Confidentiality
impl Sync for Confidentiality
impl Unpin for Confidentiality
impl UnsafeUnpin for Confidentiality
impl UnwindSafe for Confidentiality
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