pub trait OutputSizeUser {
    type OutputSize: ArrayLength<u8> + 'static;

    // Provided method
    fn output_size() -> usize { ... }
}
Expand description

Types which return data with the given size.

Required Associated Types§

source

type OutputSize: ArrayLength<u8> + 'static

Size of the output in bytes.

Provided Methods§

source

fn output_size() -> usize

Return output size in bytes.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl OutputSizeUser for Hash160

source§

impl OutputSizeUser for Hash256

source§

impl OutputSizeUser for Ripemd128Core

source§

impl OutputSizeUser for Ripemd160Core

source§

impl OutputSizeUser for Ripemd256Core

source§

impl OutputSizeUser for Ripemd320Core

source§

impl OutputSizeUser for Sha256VarCore

source§

impl OutputSizeUser for Sha512VarCore

source§

impl OutputSizeUser for Keccak224Core

source§

impl OutputSizeUser for Keccak256Core

source§

impl OutputSizeUser for Keccak256FullCore

source§

impl OutputSizeUser for Keccak384Core

source§

impl OutputSizeUser for Keccak512Core

source§

impl OutputSizeUser for Sha3_224Core

source§

impl OutputSizeUser for Sha3_256Core

source§

impl OutputSizeUser for Sha3_384Core

source§

impl OutputSizeUser for Sha3_512Core

source§

impl<D> OutputSizeUser for HmacCore<D>

source§

impl<D> OutputSizeUser for SimpleHmac<D>
where D: Digest + BlockSizeUser,

Implementors§