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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, OutSize, O> OutputSizeUser for CtVariableCoreWrapper<T, OutSize, O>
where T: VariableOutputCore, OutSize: ArraySize + IsLessOrEqual<T::OutputSize>, LeEq<OutSize, T::OutputSize>: NonZero,

Available on crate feature core-api only.
§

type OutputSize = OutSize

source§

impl<T: BufferKindUser + OutputSizeUser> OutputSizeUser for CoreWrapper<T>

Available on crate feature core-api only.