Skip to main content

OutputSizeUser

Trait OutputSizeUser 

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§

type OutputSize: ArrayLength<u8> + 'static

Size of the output in bytes.

Provided Methods§

fn output_size() -> usize

Return output size in bytes.

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.

Implementors§