pub struct LinuxNetworkBuilder { /* private fields */ }
Expand description
Builder for LinuxNetwork
.
Implementations§
Source§impl LinuxNetworkBuilder
impl LinuxNetworkBuilder
Sourcepub fn class_id<VALUE: Into<Option<u32>>>(&mut self, value: VALUE) -> &mut Self
pub fn class_id<VALUE: Into<Option<u32>>>(&mut self, value: VALUE) -> &mut Self
Set class identifier for container’s network packets
Sourcepub fn priorities<VALUE: Into<Vec<LinuxInterfacePriority>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn priorities<VALUE: Into<Vec<LinuxInterfacePriority>>>( &mut self, value: VALUE, ) -> &mut Self
Set priority of network traffic for container
Trait Implementations§
Source§impl Clone for LinuxNetworkBuilder
impl Clone for LinuxNetworkBuilder
Source§fn clone(&self) -> LinuxNetworkBuilder
fn clone(&self) -> LinuxNetworkBuilder
Returns a copy 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 Default for LinuxNetworkBuilder
impl Default for LinuxNetworkBuilder
Source§fn default() -> LinuxNetworkBuilder
fn default() -> LinuxNetworkBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinuxNetworkBuilder
impl RefUnwindSafe for LinuxNetworkBuilder
impl Send for LinuxNetworkBuilder
impl Sync for LinuxNetworkBuilder
impl Unpin for LinuxNetworkBuilder
impl UnwindSafe for LinuxNetworkBuilder
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