Struct cgroups::NetworkPriority
source · Expand description
Assigned priority for a network device.
Fields
name: String
The name (as visible in ifconfig
) of the interface.
priority: u64
Assigned priority.
Trait Implementations
sourceimpl Clone for NetworkPriority
impl Clone for NetworkPriority
sourcefn clone(&self) -> NetworkPriority
fn clone(&self) -> NetworkPriority
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NetworkPriority
impl Debug for NetworkPriority
sourceimpl Default for NetworkPriority
impl Default for NetworkPriority
sourcefn default() -> NetworkPriority
fn default() -> NetworkPriority
Returns the “default value” for a type. Read more
sourceimpl PartialEq<NetworkPriority> for NetworkPriority
impl PartialEq<NetworkPriority> for NetworkPriority
sourcefn eq(&self, other: &NetworkPriority) -> bool
fn eq(&self, other: &NetworkPriority) -> bool
impl Eq for NetworkPriority
impl StructuralEq for NetworkPriority
impl StructuralPartialEq for NetworkPriority
Auto Trait Implementations
impl RefUnwindSafe for NetworkPriority
impl Send for NetworkPriority
impl Sync for NetworkPriority
impl Unpin for NetworkPriority
impl UnwindSafe for NetworkPriority
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more