pub(crate) struct Closure<'a, F, BS, SC>{
pub(crate) ctr_nonce: &'a mut F::CtrNonce,
pub(crate) f: SC,
}
Fields§
§ctr_nonce: &'a mut F::CtrNonce
§f: SC
Trait Implementations§
source§impl<'a, F, BS, SC> BlockClosure for Closure<'a, F, BS, SC>
impl<'a, F, BS, SC> BlockClosure for Closure<'a, F, BS, SC>
source§fn call<B: BlockBackend<BlockSize = BS>>(self, backend: &mut B)
fn call<B: BlockBackend<BlockSize = BS>>(self, backend: &mut B)
Execute closure with the provided block cipher backend.
source§impl<'a, F, BS, SC> BlockSizeUser for Closure<'a, F, BS, SC>
impl<'a, F, BS, SC> BlockSizeUser for Closure<'a, F, BS, SC>
Auto Trait Implementations§
impl<'a, F, BS, SC> Freeze for Closure<'a, F, BS, SC>where
SC: Freeze,
impl<'a, F, BS, SC> RefUnwindSafe for Closure<'a, F, BS, SC>
impl<'a, F, BS, SC> Send for Closure<'a, F, BS, SC>
impl<'a, F, BS, SC> Sync for Closure<'a, F, BS, SC>
impl<'a, F, BS, SC> Unpin for Closure<'a, F, BS, SC>where
SC: Unpin,
impl<'a, F, BS, SC> !UnwindSafe for Closure<'a, F, BS, SC>
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