pub struct DigestDescriptor {
pub version: u32,
pub algorithm: Algorithm,
}Expand description
Parsed format descriptor from a composefs.digest= value.
Fields§
§version: u32The EROFS format version (v1 or v2).
algorithm: AlgorithmThe fs-verity algorithm (hash + blocksize).
Trait Implementations§
Source§impl Clone for DigestDescriptor
impl Clone for DigestDescriptor
Source§fn clone(&self) -> DigestDescriptor
fn clone(&self) -> DigestDescriptor
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 DigestDescriptor
Source§impl Debug for DigestDescriptor
impl Debug for DigestDescriptor
impl Eq for DigestDescriptor
Source§impl PartialEq for DigestDescriptor
impl PartialEq for DigestDescriptor
Source§fn eq(&self, other: &DigestDescriptor) -> bool
fn eq(&self, other: &DigestDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DigestDescriptor
Auto Trait Implementations§
impl Freeze for DigestDescriptor
impl RefUnwindSafe for DigestDescriptor
impl Send for DigestDescriptor
impl Sync for DigestDescriptor
impl Unpin for DigestDescriptor
impl UnsafeUnpin for DigestDescriptor
impl UnwindSafe for DigestDescriptor
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