pub struct Resources {
pub deny: Vec<Access>,
pub allow: Vec<Access>,
}Expand description
Allow or deny a cgroup to perform specific accesses to devices.
See the kernel’s documentation for more information about the fields.
Fields§
§deny: Vec<Access>Deny this cgroup to perform these accesses.
allow: Vec<Access>Allow this cgroup to perform these accesses.
Trait Implementations§
impl Eq for Resources
impl StructuralPartialEq for Resources
Auto Trait Implementations§
impl Freeze for Resources
impl RefUnwindSafe for Resources
impl Send for Resources
impl Sync for Resources
impl Unpin for Resources
impl UnsafeUnpin for Resources
impl UnwindSafe for Resources
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