Struct sha1::Sha1Core[][src]

pub struct Sha1Core { /* fields omitted */ }
Expand description

Core SHA-1 hasher state.

Trait Implementations

Write algorithm name into f.

Size of the block in bytes.

Block buffer kind over which type operates.

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

Finalize state using remaining data stored in the provided block buffer, write result into provided array and leave self in a dirty state. Read more

Size of the output in bytes.

Reset state to its initial value.

Update state using the provided data blocks.

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

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.