struct Backend<'a, BS, BK>{
iv: &'a mut GenericArray<u8, BS>,
backend: &'a mut BK,
}
Fields§
§iv: &'a mut GenericArray<u8, BS>
§backend: &'a mut BK
Trait Implementations§
source§impl<'a, BS, BK> BlockBackend for Backend<'a, BS, BK>
impl<'a, BS, BK> BlockBackend for Backend<'a, BS, BK>
source§fn proc_block(&mut self, block: InOut<'_, '_, Block<Self>>)
fn proc_block(&mut self, block: InOut<'_, '_, Block<Self>>)
Process single inout block.
source§fn proc_par_blocks(&mut self, blocks: InOut<'_, '_, ParBlocks<Self>>)
fn proc_par_blocks(&mut self, blocks: InOut<'_, '_, ParBlocks<Self>>)
Process inout blocks in parallel.
source§fn proc_tail_blocks(
&mut self,
blocks: InOutBuf<'_, '_, GenericArray<u8, Self::BlockSize>>,
)
fn proc_tail_blocks( &mut self, blocks: InOutBuf<'_, '_, GenericArray<u8, Self::BlockSize>>, )
Process buffer of inout blocks. Length of the buffer MUST be smaller
than
Self::ParBlocksSize
.source§fn proc_block_inplace(&mut self, block: &mut GenericArray<u8, Self::BlockSize>)
fn proc_block_inplace(&mut self, block: &mut GenericArray<u8, Self::BlockSize>)
Process single block in-place.
source§fn proc_par_blocks_inplace(
&mut self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocksSize>,
)
fn proc_par_blocks_inplace( &mut self, blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocksSize>, )
Process blocks in parallel in-place.
source§fn proc_tail_blocks_inplace(
&mut self,
blocks: &mut [GenericArray<u8, Self::BlockSize>],
)
fn proc_tail_blocks_inplace( &mut self, blocks: &mut [GenericArray<u8, Self::BlockSize>], )
Process buffer of blocks in-place. Length of the buffer MUST be smaller
than
Self::ParBlocksSize
.source§impl<'a, BS, BK> BlockSizeUser for Backend<'a, BS, BK>
impl<'a, BS, BK> BlockSizeUser for Backend<'a, BS, BK>
source§impl<'a, BS, BK> ParBlocksSizeUser for Backend<'a, BS, BK>
impl<'a, BS, BK> ParBlocksSizeUser for Backend<'a, BS, BK>
§type ParBlocksSize = <BK as ParBlocksSizeUser>::ParBlocksSize
type ParBlocksSize = <BK as ParBlocksSizeUser>::ParBlocksSize
Number of blocks which can be processed in parallel.
Auto Trait Implementations§
impl<'a, BS, BK> Freeze for Backend<'a, BS, BK>
impl<'a, BS, BK> RefUnwindSafe for Backend<'a, BS, BK>
impl<'a, BS, BK> Send for Backend<'a, BS, BK>where
BK: Send,
impl<'a, BS, BK> Sync for Backend<'a, BS, BK>where
BK: Sync,
impl<'a, BS, BK> Unpin for Backend<'a, BS, BK>
impl<'a, BS, BK> !UnwindSafe for Backend<'a, BS, BK>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more