Skip to main content

DigestExt

Trait DigestExt 

Source
pub trait DigestExt: Digest {
    // Required method
    fn default_len() -> usize;

    // Provided methods
    fn to_bytes(&mut self) -> Vec<u8>  { ... }
    fn to_hex(&mut self) -> String { ... }
}

Required Methods§

Provided Methods§

Source

fn to_bytes(&mut self) -> Vec<u8>

Source

fn to_hex(&mut self) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§