Struct cardano_serialization_lib::chain_crypto::digest::DigestOf [−][src]
pub struct DigestOf<H: DigestAlg, T> { /* fields omitted */ }
Expand description
A typed version of Digest
Implementations
Get the digest of object T, given its AsRef<u8> implementation
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<H, T> RefUnwindSafe for DigestOf<H, T> where
T: RefUnwindSafe,
<H as DigestAlg>::DigestData: RefUnwindSafe,
impl<H, T> UnwindSafe for DigestOf<H, T> where
T: UnwindSafe,
<H as DigestAlg>::DigestData: UnwindSafe,
Blanket Implementations
Calculate the base32 serialized length
Mutably borrows from an owned value. Read more
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more