pub struct PayloadManifest { /* private fields */ }Expand description
Deterministically sorted payload snapshot.
Implementations§
Source§impl PayloadManifest
impl PayloadManifest
Sourcepub fn entries(&self) -> &[ManifestEntry]
pub fn entries(&self) -> &[ManifestEntry]
Returns sorted payload files.
Sourcepub const fn total_length(&self) -> u64
pub const fn total_length(&self) -> u64
Returns checked total payload bytes.
Trait Implementations§
Source§impl Clone for PayloadManifest
impl Clone for PayloadManifest
Source§fn clone(&self) -> PayloadManifest
fn clone(&self) -> PayloadManifest
Returns a duplicate of the value. Read more
1.0.0 · 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 PayloadManifest
impl Debug for PayloadManifest
Source§impl PartialEq for PayloadManifest
impl PartialEq for PayloadManifest
impl Eq for PayloadManifest
impl StructuralPartialEq for PayloadManifest
Auto Trait Implementations§
impl Freeze for PayloadManifest
impl RefUnwindSafe for PayloadManifest
impl Send for PayloadManifest
impl Sync for PayloadManifest
impl Unpin for PayloadManifest
impl UnwindSafe for PayloadManifest
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