pub struct DecodedBlobMetadata {
pub uncompressed_size: u64,
pub compression_info: Option<CompressionInfo>,
pub merkle_leaves: MerkleLeaves,
}Expand description
Metadata decoded from on-disk storage describing a blob’s uncompressed size, compression info, and Merkle leaves. Compression info will be None if blob is uncompressed.
Fields§
§uncompressed_size: u64§compression_info: Option<CompressionInfo>§merkle_leaves: MerkleLeavesAuto Trait Implementations§
impl Freeze for DecodedBlobMetadata
impl RefUnwindSafe for DecodedBlobMetadata
impl Send for DecodedBlobMetadata
impl Sync for DecodedBlobMetadata
impl Unpin for DecodedBlobMetadata
impl UnsafeUnpin for DecodedBlobMetadata
impl UnwindSafe for DecodedBlobMetadata
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
§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