pub enum RootfsSource {
Directory(PathBuf),
Image(ImageSource),
}Variants§
Directory(PathBuf)
An OCI image layout or a Docker overlay2 chain-id directory.
Image(ImageSource)
An image resolved by the caller, which can retain its config and digest.
Auto Trait Implementations§
impl !RefUnwindSafe for RootfsSource
impl !Sync for RootfsSource
impl !UnwindSafe for RootfsSource
impl Freeze for RootfsSource
impl Send for RootfsSource
impl Unpin for RootfsSource
impl UnsafeUnpin for RootfsSource
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