pub struct ExportSummary {
pub platform: String,
pub archived: usize,
pub omitted: BTreeMap<String, usize>,
}Expand description
What an export carried across the gap — and what it could not.
An archive is SINGLE-PLATFORM by construction: archive exports an
installed layer, and install fetches only the payloads of the platform
it installed for, so the bytes for any other platform are simply not on this
machine. That is not something an operator may discover on the far side of
an air gap, so the omission is counted here and printed by the CLI.
Fields§
§platform: StringThe platform whose payloads this archive carries — the only one.
archived: usizePayload blobs written (the manifest and its envelope are not counted).
omitted: BTreeMap<String, usize>Manifest entries left out because they name another platform, counted per platform — what an operator carrying this media to a mixed site needs to know BEFORE they travel.
Trait Implementations§
Source§impl Clone for ExportSummary
impl Clone for ExportSummary
Source§fn clone(&self) -> ExportSummary
fn clone(&self) -> ExportSummary
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 moreSource§impl Debug for ExportSummary
impl Debug for ExportSummary
impl Eq for ExportSummary
Source§impl PartialEq for ExportSummary
impl PartialEq for ExportSummary
impl StructuralPartialEq for ExportSummary
Auto Trait Implementations§
impl Freeze for ExportSummary
impl RefUnwindSafe for ExportSummary
impl Send for ExportSummary
impl Sync for ExportSummary
impl Unpin for ExportSummary
impl UnsafeUnpin for ExportSummary
impl UnwindSafe for ExportSummary
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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