Skip to main content

TweakBlockCipherDecClosure

Trait TweakBlockCipherDecClosure 

Source
pub trait TweakBlockCipherDecClosure: BlockSizeUser + TweakSizeUser {
    // Required method
    fn call<B>(self, backend: &B)
       where B: TweakBlockCipherDecBackend<BlockSize = Self::BlockSize, TweakSize = Self::TweakSize>;
}
Expand description

Trait for TweakBlockCipherDecBackend users.

This trait is used to define rank-2 closures.

Required Methods§

Source

fn call<B>(self, backend: &B)
where B: TweakBlockCipherDecBackend<BlockSize = Self::BlockSize, TweakSize = Self::TweakSize>,

Execute closure with the provided block cipher backend.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§