pub struct NetNamespace { /* private fields */ }Expand description
Network namespace name.
Implementations§
Trait Implementations§
Source§impl Clone for NetNamespace
impl Clone for NetNamespace
Source§fn clone(&self) -> NetNamespace
fn clone(&self) -> NetNamespace
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 moreSource§impl Debug for NetNamespace
impl Debug for NetNamespace
impl Eq for NetNamespace
Source§impl PartialEq for NetNamespace
impl PartialEq for NetNamespace
Source§fn eq(&self, other: &NetNamespace) -> bool
fn eq(&self, other: &NetNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NetNamespace
Source§impl Tlv for NetNamespace
impl Tlv for NetNamespace
Source§fn try_from_value(value: &[u8]) -> Option<NetNamespace>
fn try_from_value(value: &[u8]) -> Option<NetNamespace>
Attempts to decode a TLV value payload.
Source§fn value_bytes(&self) -> Cow<'_, [u8]>
fn value_bytes(&self) -> Cow<'_, [u8]>
Serializes this TLV’s value payload.
Auto Trait Implementations§
impl Freeze for NetNamespace
impl RefUnwindSafe for NetNamespace
impl Send for NetNamespace
impl Sync for NetNamespace
impl Unpin for NetNamespace
impl UnsafeUnpin for NetNamespace
impl UnwindSafe for NetNamespace
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