pub enum FaceKind {
Show 15 variants
Udp,
Tcp,
Unix,
Ethernet,
EtherMulticast,
App,
Shm,
Serial,
Bluetooth,
Wfb,
Compute,
Internal,
Multicast,
WebSocket,
Management,
}Expand description
Re-export the canonical FaceKind from ndn-transport — single source of
truth for all face type classification. Serde support is enabled via the
serde feature on ndn-transport.
Classifies a face by its transport type (informational; not used for routing).
Variants§
Udp
Tcp
Unix
Ethernet
EtherMulticast
App
Shm
Serial
Bluetooth
Wfb
Compute
Internal
Multicast
WebSocket
Management
Management socket face (Unix domain, operator-level trust).
Faces of this kind are created by the router’s NFD face listener for
connections to the management socket. The Unix socket’s filesystem
permissions (0600, owned by the router user) serve as the
authentication boundary — commands from Management faces are granted
operator-level access without requiring signed Interests.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FaceKind
impl<'de> Deserialize<'de> for FaceKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FaceKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FaceKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for FaceKind
impl Serialize for FaceKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for FaceKind
impl Eq for FaceKind
impl StructuralPartialEq for FaceKind
Auto Trait Implementations§
impl Freeze for FaceKind
impl RefUnwindSafe for FaceKind
impl Send for FaceKind
impl Sync for FaceKind
impl Unpin for FaceKind
impl UnwindSafe for FaceKind
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
§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
§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
Compare self to
key and return true if they are equal.