pub struct ArchiveEnvelope { /* private fields */ }Expand description
Validated archive envelope summary.
Implementations§
Source§impl ArchiveEnvelope
impl ArchiveEnvelope
Sourcepub fn label(&self) -> &str
pub fn label(&self) -> &str
User-facing archive label from the policy that produced this envelope.
Sourcepub fn archive_size(&self) -> u64
pub fn archive_size(&self) -> u64
Compressed archive size in bytes.
Sourcepub fn expanded_size(&self) -> u64
pub fn expanded_size(&self) -> u64
Total expanded entry bytes.
Sourcepub fn entries(&self) -> &[ArchiveEnvelopeEntry]
pub fn entries(&self) -> &[ArchiveEnvelopeEntry]
Validated archive entries in central-directory order.
Trait Implementations§
Source§impl Clone for ArchiveEnvelope
impl Clone for ArchiveEnvelope
Source§fn clone(&self) -> ArchiveEnvelope
fn clone(&self) -> ArchiveEnvelope
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 ArchiveEnvelope
impl RefUnwindSafe for ArchiveEnvelope
impl Send for ArchiveEnvelope
impl Sync for ArchiveEnvelope
impl Unpin for ArchiveEnvelope
impl UnsafeUnpin for ArchiveEnvelope
impl UnwindSafe for ArchiveEnvelope
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> 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