pub struct CtVariableCoreWrapper<T, OutSize, O = NoOid>where
    T: VariableOutputCore,
    OutSize: ArrayLength<u8> + IsLessOrEqual<T::OutputSize>,
    LeEq<OutSize, T::OutputSize>: NonZero,
    T::BlockSize: IsLess<U256>,
    Le<T::BlockSize, U256>: NonZero,
{ /* private fields */ }
Available on crate feature core-api only.
Expand description

Wrapper around VariableOutputCore which selects output size at compile time.

Trait Implementations

Write algorithm name into f.
The OID associated with this type.
Size of the block in bytes.
Return block size in bytes.
Block buffer kind over which type operates.
Returns a copy of the value. Read more
Performs copy-assignment from source. 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.
Return output size 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
Get the OID associated with this value.

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.