Struct digest::core_api::RtVariableCoreWrapper [−][src]
pub struct RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero, { /* fields omitted */ }
core-api
only.Expand description
Wrapper around VariableOutputCore
which selects output size
at run time.
Trait Implementations
impl<T: Clone> Clone for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
T::BlockSize: Clone,
T::BufferKind: Clone,
impl<T: Clone> Clone for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
T::BlockSize: Clone,
T::BufferKind: Clone,
fn clone(&self) -> RtVariableCoreWrapper<T>ⓘNotable traits for RtVariableCoreWrapper<T>impl<T> Write for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
fn clone(&self) -> RtVariableCoreWrapper<T>ⓘNotable traits for RtVariableCoreWrapper<T>impl<T> Write for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> Write for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl<T> Debug for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore + AlgorithmName,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> Debug for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore + AlgorithmName,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> Reset for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore + Reset,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> Reset for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore + Reset,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> Update for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> Update for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> VariableOutput for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> VariableOutput for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> VariableOutputReset for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore + Reset,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> VariableOutputReset for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore + Reset,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
Write result into the output buffer and reset the hasher state. Read more
impl<T> Write for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
This is supported on crate feature std
only.
impl<T> Write for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
std
only.Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
impl<T> HashMarker for RtVariableCoreWrapper<T> where
T: VariableOutputCore + HashMarker,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
Auto Trait Implementations
impl<T> RefUnwindSafe for RtVariableCoreWrapper<T> where
T: RefUnwindSafe,
<<T as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<T as BufferKindUser>::BufferKind: RefUnwindSafe,
impl<T> Send for RtVariableCoreWrapper<T> where
T: Send,
<T as BufferKindUser>::BufferKind: Send,
impl<T> Sync for RtVariableCoreWrapper<T> where
T: Sync,
<T as BufferKindUser>::BufferKind: Sync,
impl<T> Unpin for RtVariableCoreWrapper<T> where
T: Unpin,
<<T as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: Unpin,
<T as BufferKindUser>::BufferKind: Unpin,
impl<T> UnwindSafe for RtVariableCoreWrapper<T> where
T: UnwindSafe,
<<T as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
<T as BufferKindUser>::BufferKind: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more