Skip to main content

OutputSize

Trait OutputSize 

Source
pub trait OutputSize: ArraySize + Sealed {
    type BlockSize: BlockSizes;
}
Expand description

Trait implemented for output sizes supported by bash-hash.

Supported output sizes form the following list: U4, U8, …, U60, U64.

Required Associated Types§

Source

type BlockSize: BlockSizes

Block size in bytes computed as 192 - 2 * OutputSize.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl OutputSize for U4

Source§

impl OutputSize for U8

Source§

impl OutputSize for U12

Source§

impl OutputSize for U16

Source§

impl OutputSize for U20

Source§

impl OutputSize for U24

Source§

impl OutputSize for U28

Source§

impl OutputSize for U32

Source§

impl OutputSize for U36

Source§

impl OutputSize for U40

Source§

impl OutputSize for U44

Source§

impl OutputSize for U48

Source§

impl OutputSize for U52

Source§

impl OutputSize for U56

Source§

impl OutputSize for U60

Source§

impl OutputSize for U64

Implementors§