Struct digest::core_api::UpdateCoreWrapper [−][src]
This is supported on crate feature
core-api
only.Wrapper around UpdateCore
implementations.
It handles data buffering and implements the mid-level traits.
Trait Implementations
impl<T: Clone + UpdateCore> Clone for UpdateCoreWrapper<T> where
T::BlockSize: Clone,
[src]
T::BlockSize: Clone,
fn clone(&self) -> UpdateCoreWrapper<T>ⓘNotable traits for UpdateCoreWrapper<D>
impl<D: UpdateCore> Write for UpdateCoreWrapper<D>
[src]
Notable traits for UpdateCoreWrapper<D>
impl<D: UpdateCore> Write for UpdateCoreWrapper<D>
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: UpdateCore + AlgorithmName> Debug for UpdateCoreWrapper<T>
[src]
impl<T: Default + UpdateCore> Default for UpdateCoreWrapper<T> where
T::BlockSize: Default,
[src]
T::BlockSize: Default,
fn default() -> UpdateCoreWrapper<T>ⓘNotable traits for UpdateCoreWrapper<D>
impl<D: UpdateCore> Write for UpdateCoreWrapper<D>
[src]
Notable traits for UpdateCoreWrapper<D>
impl<D: UpdateCore> Write for UpdateCoreWrapper<D>
impl<D: ExtendableOutputCore + Default> ExtendableOutput for UpdateCoreWrapper<D>
[src]
type Reader = XofReaderCoreWrapper<D::ReaderCore>
Reader
fn finalize_xof(mut self: Self) -> Self::Reader
[src]
fn finalize_xof_reset(&mut self) -> Self::Reader
[src]
fn digest_xof(input: impl AsRef<[u8]>, output: &mut [u8])
[src]
fn finalize_boxed(self, output_size: usize) -> Box<[u8]>
[src]
fn finalize_boxed_reset(&mut self, output_size: usize) -> Box<[u8]>
[src]
impl<D: FixedOutputCore + Default> FixedOutput for UpdateCoreWrapper<D>
[src]
type OutputSize = D::OutputSize
Output size for fixed output digest
fn finalize_into(mut self: Self, out: &mut GenericArray<u8, Self::OutputSize>)
[src]
fn finalize_into_reset(&mut self, out: &mut GenericArray<u8, Self::OutputSize>)
[src]
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
[src]
fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
[src]
fn digest_fixed(data: impl AsRef<[u8]>) -> GenericArray<u8, Self::OutputSize>
[src]
impl<D: Default + UpdateCore> Reset for UpdateCoreWrapper<D>
[src]
impl<D: UpdateCore> Update for UpdateCoreWrapper<D>
[src]
impl<D: UpdateCore> Write for UpdateCoreWrapper<D>
[src]
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 UpdateCoreWrapper<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 UpdateCoreWrapper<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for UpdateCoreWrapper<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for UpdateCoreWrapper<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 UpdateCoreWrapper<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>,