Trait digest::OutputSizeUser
source · [−]pub trait OutputSizeUser {
type OutputSize: 'static + ArrayLength<u8>;
fn output_size() -> usize { ... }
}
Expand description
Types which return data with the given size.
Associated Types
type OutputSize: 'static + ArrayLength<u8>
type OutputSize: 'static + ArrayLength<u8>
Size of the output in bytes.
Provided methods
fn output_size() -> usize
fn output_size() -> usize
Return output size in bytes.
Implementors
sourceimpl<T> OutputSizeUser for CoreWrapper<T> where
T: BufferKindUser + OutputSizeUser,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
This is supported on crate feature core-api
only.
impl<T> OutputSizeUser for CoreWrapper<T> where
T: BufferKindUser + OutputSizeUser,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
This is supported on crate feature
core-api
only.type OutputSize = T::OutputSize
sourceimpl<T, OutSize> OutputSizeUser for CtVariableCoreWrapper<T, OutSize> where
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::OutputSize> + 'static,
LeEq<OutSize, T::OutputSize>: NonZero,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
This is supported on crate feature core-api
only.
impl<T, OutSize> OutputSizeUser for CtVariableCoreWrapper<T, OutSize> where
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::OutputSize> + 'static,
LeEq<OutSize, T::OutputSize>: NonZero,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
This is supported on crate feature
core-api
only.