Struct cgroups_rs::NetworkResources [−][src]
Collections of limits and tags that can be imposed on packets emitted by the tasks in the control group.
Fields
class_id: Option<u64>
The networking class identifier to attach to the packets.
This can then later be used in iptables and such to have special rules.
priorities: Vec<NetworkPriority>
Priority of the egress traffic for each interface.
Trait Implementations
impl Clone for NetworkResources
[src]
fn clone(&self) -> NetworkResources
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NetworkResources
[src]
impl Default for NetworkResources
[src]
fn default() -> NetworkResources
[src]
impl Eq for NetworkResources
[src]
impl PartialEq<NetworkResources> for NetworkResources
[src]
fn eq(&self, other: &NetworkResources) -> bool
[src]
fn ne(&self, other: &NetworkResources) -> bool
[src]
impl StructuralEq for NetworkResources
[src]
impl StructuralPartialEq for NetworkResources
[src]
Auto Trait Implementations
impl RefUnwindSafe for NetworkResources
impl Send for NetworkResources
impl Sync for NetworkResources
impl Unpin for NetworkResources
impl UnwindSafe for NetworkResources
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,