Skip to main content

OutputSizeUser

Trait OutputSizeUser 

Source
pub trait OutputSizeUser {
    type OutputSize: ArraySize;

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

Types which return data with the given size.

Required Associated Types§

Source

type OutputSize: ArraySize

Size of the output in bytes.

Provided Methods§

Source

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".

Implementors§

Source§

impl<T, OutSize> OutputSizeUser for CtOutWrapper<T, OutSize>
where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>,

Source§

type OutputSize = OutSize

Source§

impl<T: ExtendableOutput, S: ArraySize> OutputSizeUser for XofFixedWrapper<T, S>