Struct digest::core_api::CtVariableCoreWrapper [−][src]
This is supported on crate feature
core-api
only.Wrapper around VariableOutputCore
which selects output size
at compile time.
Trait Implementations
impl<T, OutSize> AlgorithmName for CtVariableCoreWrapper<T, OutSize> where
T: VariableOutputCore + AlgorithmName,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
[src]
T: VariableOutputCore + AlgorithmName,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
fn write_alg_name(f: &mut Formatter<'_>) -> Result
[src]
impl<T: Clone, OutSize: Clone> Clone for CtVariableCoreWrapper<T, OutSize> where
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
[src]
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
fn clone(&self) -> CtVariableCoreWrapper<T, OutSize>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T, OutSize> Default for CtVariableCoreWrapper<T, OutSize> where
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
[src]
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
impl<T, OutSize> FixedOutputCore for CtVariableCoreWrapper<T, OutSize> where
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
[src]
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
type OutputSize = OutSize
Digest output size in bytes.
fn finalize_fixed_core(
&mut self,
buffer: &mut BlockBuffer<Self::BlockSize>,
out: &mut GenericArray<u8, Self::OutputSize>
)
[src]
&mut self,
buffer: &mut BlockBuffer<Self::BlockSize>,
out: &mut GenericArray<u8, Self::OutputSize>
)
impl<T, OutSize> UpdateCore for CtVariableCoreWrapper<T, OutSize> where
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
[src]
T: VariableOutputCore,
OutSize: ArrayLength<u8> + IsLessOrEqual<T::MaxOutputSize>,
LeEq<OutSize, T::MaxOutputSize>: NonZero,
type BlockSize = T::BlockSize
Block size in bytes.
fn update_blocks(&mut self, blocks: &[GenericArray<u8, Self::BlockSize>])
[src]
Auto Trait Implementations
impl<T, OutSize> RefUnwindSafe for CtVariableCoreWrapper<T, OutSize> where
OutSize: RefUnwindSafe,
T: RefUnwindSafe,
[src]
OutSize: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, OutSize> Send for CtVariableCoreWrapper<T, OutSize> where
OutSize: Send,
T: Send,
[src]
OutSize: Send,
T: Send,
impl<T, OutSize> Sync for CtVariableCoreWrapper<T, OutSize> where
OutSize: Sync,
T: Sync,
[src]
OutSize: Sync,
T: Sync,
impl<T, OutSize> Unpin for CtVariableCoreWrapper<T, OutSize> where
OutSize: Unpin,
T: Unpin,
[src]
OutSize: Unpin,
T: Unpin,
impl<T, OutSize> UnwindSafe for CtVariableCoreWrapper<T, OutSize> where
OutSize: UnwindSafe,
T: UnwindSafe,
[src]
OutSize: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,