Struct RtVariableCoreWrapper

struct RtVariableCoreWrapper<T> { ... }
where
    T: VariableOutputCore + UpdateCore,
    <T as >::BlockSize: IsLess<crypto_common::typenum::U256>,
    crypto_common::typenum::Le<<T as >::BlockSize, crypto_common::typenum::U256>: NonZero

Wrapper around VariableOutputCore which selects output size at run time.

Implementations

impl<T> Any for RtVariableCoreWrapper<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for RtVariableCoreWrapper<T>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for RtVariableCoreWrapper<T>

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

impl<T> Clone for RtVariableCoreWrapper<T>

fn clone(self: &Self) -> RtVariableCoreWrapper<T>

impl<T> CloneToUninit for RtVariableCoreWrapper<T>

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

impl<T> Debug for RtVariableCoreWrapper<T>

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

impl<T> Freeze for RtVariableCoreWrapper<T>

impl<T> From for RtVariableCoreWrapper<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> HashMarker for RtVariableCoreWrapper<T>

impl<T> MacMarker for RtVariableCoreWrapper<T>

impl<T> RefUnwindSafe for RtVariableCoreWrapper<T>

impl<T> Reset for RtVariableCoreWrapper<T>

fn reset(self: &mut Self)

impl<T> Same for RtVariableCoreWrapper<T>

impl<T> Send for RtVariableCoreWrapper<T>

impl<T> Sync for RtVariableCoreWrapper<T>

impl<T> ToOwned for RtVariableCoreWrapper<T>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> Unpin for RtVariableCoreWrapper<T>

impl<T> UnsafeUnpin for RtVariableCoreWrapper<T>

impl<T> UnwindSafe for RtVariableCoreWrapper<T>

impl<T> Update for RtVariableCoreWrapper<T>

fn update(self: &mut Self, input: &[u8])

impl<T> VariableOutput for RtVariableCoreWrapper<T>

fn new(output_size: usize) -> Result<Self, InvalidOutputSize>
fn output_size(self: &Self) -> usize
fn finalize_variable(self: Self, out: &mut [u8]) -> Result<(), InvalidBufferSize>

impl<T> VariableOutputReset for RtVariableCoreWrapper<T>

fn finalize_variable_reset(self: &mut Self, out: &mut [u8]) -> Result<(), InvalidBufferSize>

impl<T> Write for RtVariableCoreWrapper<T>

fn write(self: &mut Self, buf: &[u8]) -> Result<usize>
fn flush(self: &mut Self) -> Result<()>

impl<T, U> Into for RtVariableCoreWrapper<T>

fn into(self: 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 for RtVariableCoreWrapper<T>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for RtVariableCoreWrapper<T>

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