Struct digest::core_api::RtVariableCoreWrapper [−][src]
This is supported on crate feature
core-api
only.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: Clone,
[src]
T: VariableOutputCore + UpdateCore,
T::BlockSize: Clone,
fn clone(&self) -> RtVariableCoreWrapper<T>ⓘNotable traits for RtVariableCoreWrapper<T>
impl<T> Write for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
[src]
Notable traits for RtVariableCoreWrapper<T>
impl<T> Write for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Debug for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore + AlgorithmName,
[src]
T: VariableOutputCore + UpdateCore + AlgorithmName,
impl<T> Reset for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
[src]
T: VariableOutputCore + UpdateCore,
impl<T> Update for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
[src]
T: VariableOutputCore + UpdateCore,
impl<T> VariableOutput for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
[src]
T: VariableOutputCore + UpdateCore,
const MAX_OUTPUT_SIZE: usize
[src]
fn new(output_size: usize) -> Result<Self, InvalidOutputSize>
[src]
fn output_size(&self) -> usize
[src]
fn finalize_variable(mut self: Self, f: impl FnOnce(&[u8]))
[src]
fn finalize_variable_reset(&mut self, f: impl FnOnce(&[u8]))
[src]
fn digest_variable(
input: impl AsRef<[u8]>,
output: &mut [u8]
) -> Result<(), InvalidOutputSize>
[src]
input: impl AsRef<[u8]>,
output: &mut [u8]
) -> Result<(), InvalidOutputSize>
fn finalize_boxed(self) -> Box<[u8]>
[src]
fn finalize_boxed_reset(&mut self) -> Box<[u8]>
[src]
impl<T> Write for RtVariableCoreWrapper<T> where
T: VariableOutputCore + UpdateCore,
[src]
T: VariableOutputCore + UpdateCore,
This is supported on crate feature
std
only.fn write(&mut self, buf: &[u8]) -> Result<usize>
[src]
fn flush(&mut self) -> Result<()>
[src]
pub fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>
1.36.0[src]
pub fn is_write_vectored(&self) -> bool
[src]
pub fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
pub fn write_all_vectored(
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
[src]
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
pub fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>
1.0.0[src]
pub fn by_ref(&mut self) -> &mut Self
1.0.0[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for RtVariableCoreWrapper<T> where
T: RefUnwindSafe,
<<T as UpdateCore>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
[src]
T: RefUnwindSafe,
<<T as UpdateCore>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<T> Send for RtVariableCoreWrapper<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for RtVariableCoreWrapper<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for RtVariableCoreWrapper<T> where
T: Unpin,
<<T as UpdateCore>::BlockSize as ArrayLength<u8>>::ArrayType: Unpin,
[src]
T: Unpin,
<<T as UpdateCore>::BlockSize as ArrayLength<u8>>::ArrayType: Unpin,
impl<T> UnwindSafe for RtVariableCoreWrapper<T> where
T: UnwindSafe,
<<T as UpdateCore>::BlockSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
[src]
T: UnwindSafe,
<<T as UpdateCore>::BlockSize as ArrayLength<u8>>::ArrayType: 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>,