Skip to main content

TweakBlockCipherEncClosure

Trait TweakBlockCipherEncClosure 

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

Trait for TweakBlockCipherEncBackend users.

This trait is used to define rank-2 closures.

Required Methods§

Source

fn call<B>(self, backend: &B)
where B: TweakBlockCipherEncBackend<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", so this trait is not object safe.

Implementors§