pub struct OpenConfig<ObjectID> {
pub config: ImageConfiguration,
pub layer_refs: HashMap<Box<str>, ObjectID>,
pub image_ref: Option<ObjectID>,
pub image_ref_v1: Option<ObjectID>,
pub boot_image_ref: Option<ObjectID>,
pub boot_image_ref_v1: Option<ObjectID>,
}Expand description
Parsed OCI config and its associated references.
Fields§
§config: ImageConfigurationThe parsed OCI image configuration.
layer_refs: HashMap<Box<str>, ObjectID>Map from layer diff_id to its fs-verity object ID.
image_ref: Option<ObjectID>The V2 EROFS image ObjectID linked to this config, if any.
image_ref_v1: Option<ObjectID>The V1 EROFS image ObjectID linked to this config, if any.
boot_image_ref: Option<ObjectID>The V2 boot EROFS image ObjectID linked to this config, if any.
boot_image_ref_v1: Option<ObjectID>The V1 boot EROFS image ObjectID linked to this config, if any.
Trait Implementations§
Auto Trait Implementations§
impl<ObjectID> Freeze for OpenConfig<ObjectID>where
ObjectID: Freeze,
impl<ObjectID> RefUnwindSafe for OpenConfig<ObjectID>where
ObjectID: RefUnwindSafe,
impl<ObjectID> Send for OpenConfig<ObjectID>where
ObjectID: Send,
impl<ObjectID> Sync for OpenConfig<ObjectID>where
ObjectID: Sync,
impl<ObjectID> Unpin for OpenConfig<ObjectID>where
ObjectID: Unpin,
impl<ObjectID> UnsafeUnpin for OpenConfig<ObjectID>where
ObjectID: UnsafeUnpin,
impl<ObjectID> UnwindSafe for OpenConfig<ObjectID>where
ObjectID: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more