Struct CtOutWrapper

pub struct CtOutWrapper<T, OutSize>
where
    T: VariableOutputCore,
    OutSize: ArraySize + IsLessOrEqual<T::OutputSize, Output = True>, { /* private fields */ }

Wrapper around VariableOutputCore which selects output size at compile time.

Trait Implementations

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

fn write_alg_name(f: &mut Formatter<'_>) -> Result

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

type BlockSize = <T as BlockSizeUser>::BlockSize;

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

type BufferKind = <T as BufferKindUser>::BufferKind;

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

fn clone(&self) -> Self

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

type CollisionResistance = <T as CollisionResistance>::CollisionResistance;

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

fn new_customized(customization: &[u8]) -> Self

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

fn fmt(&self, f: &mut Formatter<'_>) -> Result

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

fn default() -> Self

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

fn finalize_fixed_core(&mut self, buffer: &mut Buffer<Self>, out: &mut Array<u8, Self::OutputSize>)

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

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

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

type OutputSize = OutSize;

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

fn reset(&mut self)

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

type SerializedStateSize = <T as SerializableState>::SerializedStateSize;
fn serialize(&self) -> SerializedState<Self>
fn deserialize(serialized_state: &SerializedState<Self>) -> Result<Self, DeserializeStateError>

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

fn update_blocks(&mut self, blocks: &[Block<Self>])

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

Auto Trait Implementations

impl<T, OutSize> Freeze for CtOutWrapper<T, OutSize> where T: Freeze, PhantomData<OutSize>: Freeze,

impl<T, OutSize> RefUnwindSafe for CtOutWrapper<T, OutSize> where T: RefUnwindSafe, PhantomData<OutSize>: RefUnwindSafe,

impl<T, OutSize> Send for CtOutWrapper<T, OutSize> where T: Send, PhantomData<OutSize>: Send,

impl<T, OutSize> Sync for CtOutWrapper<T, OutSize> where T: Sync, PhantomData<OutSize>: Sync,

impl<T, OutSize> Unpin for CtOutWrapper<T, OutSize> where T: Unpin, PhantomData<OutSize>: Unpin,

impl<T, OutSize> UnsafeUnpin for CtOutWrapper<T, OutSize> where T: UnsafeUnpin, PhantomData<OutSize>: UnsafeUnpin,

impl<T, OutSize> UnwindSafe for CtOutWrapper<T, OutSize> where T: UnwindSafe, PhantomData<OutSize>: UnwindSafe,

Blanket Implementations

impl<T> Any for CtOutWrapper<T, OutSize> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for CtOutWrapper<T, OutSize> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for CtOutWrapper<T, OutSize> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for CtOutWrapper<T, OutSize> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for CtOutWrapper<T, OutSize>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for CtOutWrapper<T, OutSize>

type Output = T;

impl<T> SmallBlockSizeUser for CtOutWrapper<T, OutSize> where T: BlockSizeUser, <T as BlockSizeUser>::BlockSize: BlockSizes,

type _BlockSize = <T as BlockSizeUser>::BlockSize;

impl<T> ToOwned for CtOutWrapper<T, OutSize> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> TryCustomizedInit for CtOutWrapper<T, OutSize> where T: CustomizedInit,

type Error = never;
fn try_new_customized(customization: &[u8]) -> Result<Self, Self::Error>

impl<T, U> Into<U> for CtOutWrapper<T, OutSize> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for CtOutWrapper<T, OutSize> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for CtOutWrapper<T, OutSize> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>