Trait cipher::StreamClosure
source · pub trait StreamClosure: BlockSizeUser {
// Required method
fn call<B: StreamBackend<BlockSize = Self::BlockSize>>(
self,
backend: &mut B,
);
}
Expand description
Trait for StreamBackend
users.
This trait is used to define rank-2 closures.
Required Methods§
sourcefn call<B: StreamBackend<BlockSize = Self::BlockSize>>(self, backend: &mut B)
fn call<B: StreamBackend<BlockSize = Self::BlockSize>>(self, backend: &mut B)
Execute closure with the provided stream cipher backend.
Object Safety§
This trait is not object safe.