pub struct DeviceCgroupBuilder { /* private fields */ }
Expand description
Builder for DeviceCgroup
.
Implementations§
Source§impl DeviceCgroupBuilder
impl DeviceCgroupBuilder
pub fn access<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn allow<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn major<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn minor<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn device_cgroup_type<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for DeviceCgroupBuilder
impl Clone for DeviceCgroupBuilder
Source§fn clone(&self) -> DeviceCgroupBuilder
fn clone(&self) -> DeviceCgroupBuilder
Returns a duplicate 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 DeviceCgroupBuilder
impl Default for DeviceCgroupBuilder
Source§fn default() -> DeviceCgroupBuilder
fn default() -> DeviceCgroupBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceCgroupBuilder
impl RefUnwindSafe for DeviceCgroupBuilder
impl Send for DeviceCgroupBuilder
impl Sync for DeviceCgroupBuilder
impl Unpin for DeviceCgroupBuilder
impl UnwindSafe for DeviceCgroupBuilder
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