pub enum FaceScope {
Local,
NonLocal,
}Expand description
Whether a face is local (same-host IPC) or non-local (network).
NFD uses this to enforce that /localhost prefixes never cross non-local
faces — a security boundary preventing management Interests from leaking
onto the network.
Variants§
Trait Implementations§
impl Copy for FaceScope
impl Eq for FaceScope
impl StructuralPartialEq for FaceScope
Auto Trait Implementations§
impl Freeze for FaceScope
impl RefUnwindSafe for FaceScope
impl Send for FaceScope
impl Sync for FaceScope
impl Unpin for FaceScope
impl UnwindSafe for FaceScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more