[−][src]Struct container_spec::LinuxBlockIOBuilder
Builder for LinuxBlockIO
.
Methods
impl LinuxBlockIOBuilder
[src]
pub fn weight<VALUE: Into<Option<u16>>>(&mut self, value: VALUE) -> &mut Self
[src]
Specifies per cgroup weight
pub fn leaf_weight<VALUE: Into<Option<u16>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
Specifies tasks' weight in the given cgroup while competing with the cgroup's child cgroups, CFQ scheduler only
pub fn weight_device<VALUE: Into<Vec<LinuxWeightDevice>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
Weight per cgroup per device, can override BlkioWeight
pub fn throttle_read_bps_device<VALUE: Into<Vec<LinuxThrottleDevice>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
IO read rate limit per cgroup per device, bytes per second
pub fn throttle_write_bps_device<VALUE: Into<Vec<LinuxThrottleDevice>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
IO write rate limit per cgroup per device, bytes per second
pub fn throttle_read_iops_device<VALUE: Into<Vec<LinuxThrottleDevice>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
IO read rate limit per cgroup per device, IO per second
pub fn throttle_write_iops_device<VALUE: Into<Vec<LinuxThrottleDevice>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
IO write rate limit per cgroup per device, IO per second
pub fn build(&self) -> Result<LinuxBlockIO, String>
[src]
Trait Implementations
impl Clone for LinuxBlockIOBuilder
[src]
fn clone(&self) -> LinuxBlockIOBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for LinuxBlockIOBuilder
[src]
fn default() -> LinuxBlockIOBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for LinuxBlockIOBuilder
impl Send for LinuxBlockIOBuilder
impl Sync for LinuxBlockIOBuilder
impl Unpin for LinuxBlockIOBuilder
impl UnwindSafe for LinuxBlockIOBuilder
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,