Skip to main content

BackendClosure

Trait BackendClosure 

Source
pub trait BackendClosure {
    // Required method
    fn call_once<B: Backend>(self);
}
Expand description

Trait used to define a closure which operates over Keccak backends.

Required Methods§

Source

fn call_once<B: Backend>(self)

Execute closure with the provided 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§