pub trait StreamCipherClosure: BlockSizeUser {
// Required method
fn call<B: StreamCipherBackend<BlockSize = Self::BlockSize>>(
self,
backend: &mut B,
);
}Expand description
Trait for StreamCipherBackend users.
This trait is used to define rank-2 closures.
Required Methods§
Sourcefn call<B: StreamCipherBackend<BlockSize = Self::BlockSize>>(
self,
backend: &mut B,
)
fn call<B: StreamCipherBackend<BlockSize = Self::BlockSize>>( self, backend: &mut B, )
Execute closure with the provided stream 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.