Skip to main content

BlockCipherEncClosure

Trait BlockCipherEncClosure 

Source
pub trait BlockCipherEncClosure: BlockSizeUser {
    // Required method
    fn call<B: BlockCipherEncBackend<BlockSize = Self::BlockSize>>(
        self,
        backend: &B,
    );
}
Expand description

Trait for BlockCipherEncBackend users.

This trait is used to define rank-2 closures.

Required Methods§

Source

fn call<B: BlockCipherEncBackend<BlockSize = Self::BlockSize>>( self, backend: &B, )

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§