pub struct LinuxDeviceCgroupBuilder { /* private fields */ }
Expand description
Builder for LinuxDeviceCgroup
.
Implementations§
Source§impl LinuxDeviceCgroupBuilder
impl LinuxDeviceCgroupBuilder
Sourcepub fn device_type<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn device_type<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
Device type, block, char, etc.
Sourcepub fn major<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn major<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
Major is the device’s major number.
Sourcepub fn minor<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn minor<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
Minor is the device’s minor number.
Trait Implementations§
Source§impl Clone for LinuxDeviceCgroupBuilder
impl Clone for LinuxDeviceCgroupBuilder
Source§fn clone(&self) -> LinuxDeviceCgroupBuilder
fn clone(&self) -> LinuxDeviceCgroupBuilder
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 LinuxDeviceCgroupBuilder
impl Default for LinuxDeviceCgroupBuilder
Source§fn default() -> LinuxDeviceCgroupBuilder
fn default() -> LinuxDeviceCgroupBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinuxDeviceCgroupBuilder
impl RefUnwindSafe for LinuxDeviceCgroupBuilder
impl Send for LinuxDeviceCgroupBuilder
impl Sync for LinuxDeviceCgroupBuilder
impl Unpin for LinuxDeviceCgroupBuilder
impl UnwindSafe for LinuxDeviceCgroupBuilder
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