pub struct PackagedArtifactStorageSummary;Expand description
Structured storage/reconstruction summary for the packaged artifact.
Implementations§
Source§impl PackagedArtifactStorageSummary
impl PackagedArtifactStorageSummary
Sourcepub const fn summary_line(self) -> &'static str
pub const fn summary_line(self) -> &'static str
Returns the storage and reconstruction posture as a compact human-readable line.
Sourcepub fn validate(
&self,
) -> Result<(), PackagedArtifactStorageSummaryValidationError>
pub fn validate( &self, ) -> Result<(), PackagedArtifactStorageSummaryValidationError>
Returns Ok(()) when the summary still contains a compact canonical line.
Trait Implementations§
Source§impl Clone for PackagedArtifactStorageSummary
impl Clone for PackagedArtifactStorageSummary
Source§fn clone(&self) -> PackagedArtifactStorageSummary
fn clone(&self) -> PackagedArtifactStorageSummary
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 moreimpl Copy for PackagedArtifactStorageSummary
impl Eq for PackagedArtifactStorageSummary
Source§impl PartialEq for PackagedArtifactStorageSummary
impl PartialEq for PackagedArtifactStorageSummary
Source§fn eq(&self, other: &PackagedArtifactStorageSummary) -> bool
fn eq(&self, other: &PackagedArtifactStorageSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackagedArtifactStorageSummary
Auto Trait Implementations§
impl Freeze for PackagedArtifactStorageSummary
impl RefUnwindSafe for PackagedArtifactStorageSummary
impl Send for PackagedArtifactStorageSummary
impl Sync for PackagedArtifactStorageSummary
impl Unpin for PackagedArtifactStorageSummary
impl UnsafeUnpin for PackagedArtifactStorageSummary
impl UnwindSafe for PackagedArtifactStorageSummary
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