pub struct Blake2b256(_);

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Output size for fixed output digest

Write result into provided array and consume the hasher instance.

Write result into provided array and reset the hasher instance.

Retrieve result and consume the hasher instance.

Retrieve result and reset the hasher instance.

Reset hasher instance to its initial state and return current state.

Digest input data. Read more

Digest input data in a chained manner.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Output size for Digest

Create new hasher instance

Digest data, updating the internal state. Read more

Digest input data in a chained manner.

Retrieve result and consume hasher instance.

Retrieve result and reset hasher instance. Read more

Reset hasher instance to its initial state.

Get output size of the hasher

Convenience function to compute hash of the data. It will handle hasher creation, data feeding and finalization. Read more

Digest input data. Read more

Retrieve result and reset hasher instance

Retrieve result and consume boxed hasher instance

Reset hasher instance to its initial state.

Get output size of the hasher

Clone hasher state into a boxed trait object

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.