pub enum Devices {
Skip,
Make,
}Expand description
What an unpack does with a layer’s device nodes.
Variants§
Skip
Make none, and count each in UnpackStats::skipped_devices. A
layer comes from outside: a root that unpacks it must not get, say,
/dev/sda from it. A container’s runtime makes its own /dev.
Make
Make them where this process may (root, outside a user namespace); where the kernel refuses, skip and count them.
Trait Implementations§
impl Copy for Devices
impl Eq for Devices
impl StructuralPartialEq for Devices
Auto Trait Implementations§
impl Forget for Devices
impl Freeze for Devices
impl Move for Devices
impl RefUnwindSafe for Devices
impl Send for Devices
impl Sync for Devices
impl Unpin for Devices
impl UnsafeUnpin for Devices
impl UnwindSafe for Devices
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