pub enum Layout {
Flatten,
Overlay(OverlayXattr),
}Expand description
What an unpack does with whiteouts.
Variants§
Flatten
Apply them: the layer lands on top of the layers already in rootfs.
Overlay(OverlayXattr)
Keep them for overlayfs: .wh.<name> becomes a 0/0 character device,
.wh..wh..opq an overlay.opaque xattr on its directory. For one
layer into its own empty directory.
Trait Implementations§
impl Copy for Layout
impl Eq for Layout
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Forget for Layout
impl Freeze for Layout
impl Move for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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