pub enum FsverityMetadataV50 {
Internal(RootDigestV33, Vec<u8>),
F2fs(Range<u64>),
}Variants§
Internal(RootDigestV33, Vec<u8>)
The root hash and salt.
F2fs(Range<u64>)
The root hash and salt are in a descriptor inside the merkle attribute.
Trait Implementations§
Source§impl Clone for FsverityMetadataV50
impl Clone for FsverityMetadataV50
Source§fn clone(&self) -> FsverityMetadataV50
fn clone(&self) -> FsverityMetadataV50
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 FsverityMetadataV50
impl Debug for FsverityMetadataV50
Source§impl<'de> Deserialize<'de> for FsverityMetadataV50
impl<'de> Deserialize<'de> for FsverityMetadataV50
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<FsverityMetadataV33> for FsverityMetadataV50
impl From<FsverityMetadataV33> for FsverityMetadataV50
Source§fn from(value: FsverityMetadataV33) -> Self
fn from(value: FsverityMetadataV33) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FsverityMetadataV50
impl PartialEq for FsverityMetadataV50
Source§impl Serialize for FsverityMetadataV50
impl Serialize for FsverityMetadataV50
Source§impl TypeFingerprint for FsverityMetadataV50
impl TypeFingerprint for FsverityMetadataV50
fn fingerprint() -> String
Source§impl Versioned for FsverityMetadataV50
impl Versioned for FsverityMetadataV50
impl StructuralPartialEq for FsverityMetadataV50
Auto Trait Implementations§
impl Freeze for FsverityMetadataV50
impl RefUnwindSafe for FsverityMetadataV50
impl Send for FsverityMetadataV50
impl Sync for FsverityMetadataV50
impl Unpin for FsverityMetadataV50
impl UnwindSafe for FsverityMetadataV50
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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