pub struct BlobMetadataLeafHashCollector(/* private fields */);Implementations§
Trait Implementations§
Source§impl Default for BlobMetadataLeafHashCollector
impl Default for BlobMetadataLeafHashCollector
Source§fn default() -> BlobMetadataLeafHashCollector
fn default() -> BlobMetadataLeafHashCollector
Returns the “default value” for a type. Read more
Source§impl LeafHashCollector for BlobMetadataLeafHashCollector
impl LeafHashCollector for BlobMetadataLeafHashCollector
Source§type Output = (GenericDigest<FuchsiaMerkleMarker>, Vec<[u8; 32]>)
type Output = (GenericDigest<FuchsiaMerkleMarker>, Vec<[u8; 32]>)
The output type of
MerkleRootBuilder::complete. This allows for complete to return
just the merkle root with NoopLeafHashCollector and also return the leaf hashes when a
real LeafHashCollector is used.Source§fn add_leaf_hash(&mut self, hash: Hash)
fn add_leaf_hash(&mut self, hash: Hash)
This method is called as each leaf hash in the merkle tree is created. Read more
Auto Trait Implementations§
impl Freeze for BlobMetadataLeafHashCollector
impl RefUnwindSafe for BlobMetadataLeafHashCollector
impl Send for BlobMetadataLeafHashCollector
impl Sync for BlobMetadataLeafHashCollector
impl Unpin for BlobMetadataLeafHashCollector
impl UnsafeUnpin for BlobMetadataLeafHashCollector
impl UnwindSafe for BlobMetadataLeafHashCollector
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