pub struct FlattenArtifact {
pub bytes: Vec<u8>,
pub merkle_root: ManifestRoot,
pub inode_count: usize,
pub dir_node_count: usize,
pub slab_count: usize,
pub layer_count: usize,
}Expand description
Result of a successful flatten.
Fields§
§bytes: Vec<u8>The merged manifest bytes — a valid .lim image.
merkle_root: ManifestRootThe merged manifest’s ManifestRoot.
inode_count: usizeNumber of distinct inodes in the merged metadata blob.
dir_node_count: usizeNumber of distinct directory nodes.
slab_count: usizeNumber of distinct slab entries in the aggregated slab index.
layer_count: usizeNumber of input layers consumed.
Trait Implementations§
Source§impl Clone for FlattenArtifact
impl Clone for FlattenArtifact
Source§fn clone(&self) -> FlattenArtifact
fn clone(&self) -> FlattenArtifact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FlattenArtifact
impl RefUnwindSafe for FlattenArtifact
impl Send for FlattenArtifact
impl Sync for FlattenArtifact
impl Unpin for FlattenArtifact
impl UnsafeUnpin for FlattenArtifact
impl UnwindSafe for FlattenArtifact
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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