pub struct LinuxNetDevice { /* private fields */ }Expand description
LinuxNetDevice represents a single network device to be added to the container’s network namespace
Implementations§
Trait Implementations§
Source§impl Clone for LinuxNetDevice
impl Clone for LinuxNetDevice
Source§fn clone(&self) -> LinuxNetDevice
fn clone(&self) -> LinuxNetDevice
Returns a duplicate of the value. Read more
1.0.0 · 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 LinuxNetDevice
impl Debug for LinuxNetDevice
Source§impl Default for LinuxNetDevice
impl Default for LinuxNetDevice
Source§fn default() -> LinuxNetDevice
fn default() -> LinuxNetDevice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinuxNetDevice
impl<'de> Deserialize<'de> for LinuxNetDevice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LinuxNetDevice
impl PartialEq for LinuxNetDevice
Source§impl Serialize for LinuxNetDevice
impl Serialize for LinuxNetDevice
impl Eq for LinuxNetDevice
impl StructuralPartialEq for LinuxNetDevice
Auto Trait Implementations§
impl Freeze for LinuxNetDevice
impl RefUnwindSafe for LinuxNetDevice
impl Send for LinuxNetDevice
impl Sync for LinuxNetDevice
impl Unpin for LinuxNetDevice
impl UnwindSafe for LinuxNetDevice
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