Struct digest::core_api::XofReaderCoreWrapper [−][src]
pub struct XofReaderCoreWrapper<T> where
T: XofReaderCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero, { /* fields omitted */ }
core-api
only.Expand description
Wrapper around XofReaderCore
implementations.
It handles data buffering and implements the mid-level traits.
Trait Implementations
fn clone(&self) -> XofReaderCoreWrapper<T>ⓘNotable traits for XofReaderCoreWrapper<T>impl<T> Read for XofReaderCoreWrapper<T> where
T: XofReaderCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
fn clone(&self) -> XofReaderCoreWrapper<T>ⓘNotable traits for XofReaderCoreWrapper<T>impl<T> Read for XofReaderCoreWrapper<T> where
T: XofReaderCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> Read for XofReaderCoreWrapper<T> where
T: XofReaderCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl<T> Debug for XofReaderCoreWrapper<T> where
T: XofReaderCore + AlgorithmName,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> Debug for XofReaderCoreWrapper<T> where
T: XofReaderCore + AlgorithmName,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
fn default() -> XofReaderCoreWrapper<T>ⓘNotable traits for XofReaderCoreWrapper<T>impl<T> Read for XofReaderCoreWrapper<T> where
T: XofReaderCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
fn default() -> XofReaderCoreWrapper<T>ⓘNotable traits for XofReaderCoreWrapper<T>impl<T> Read for XofReaderCoreWrapper<T> where
T: XofReaderCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
impl<T> Read for XofReaderCoreWrapper<T> where
T: XofReaderCore,
T::BlockSize: IsLess<U256>,
Le<T::BlockSize, U256>: NonZero,
Returns the “default value” for a type. Read more
Pull some bytes from this source into the specified buffer, returning how many bytes were read. Read more
Like read
, except that it reads into a slice of buffers. Read more
can_vector
)Determines if this Read
er has an efficient read_vectored
implementation. Read more
Read all bytes until EOF in this source, placing them into buf
. Read more
Read all bytes until EOF in this source, appending them to buf
. Read more
Read the exact number of bytes required to fill buf
. Read more
read_buf
)Pull some bytes from this source into the specified buffer. Read more
read_buf
)Read the exact number of bytes required to fill buf
. Read more
Creates a “by reference” adaptor for this instance of Read
. Read more
Creates an adapter which will chain this stream with another. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for XofReaderCoreWrapper<T> where
T: RefUnwindSafe,
<<T as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<T> Send for XofReaderCoreWrapper<T> where
T: Send,
impl<T> Sync for XofReaderCoreWrapper<T> where
T: Sync,
impl<T> Unpin for XofReaderCoreWrapper<T> where
T: Unpin,
<<T as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: Unpin,
impl<T> UnwindSafe for XofReaderCoreWrapper<T> where
T: UnwindSafe,
<<T as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more