pub struct MdRef(_);
Expand description

A reference to an Md.

Implementations

Returns the block size of the digest in bytes.

This corresponds to EVP_MD_block_size.

Returns the size of the digest in bytes.

This corresponds to EVP_MD_size.

Returns the Nid of the digest.

This corresponds to EVP_MD_type.

Trait Implementations

The raw C type.
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.
Returns a raw pointer to the wrapped value.

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

Returns the argument unchanged.

Calls U::from(self).

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

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.