pub trait Callable<In, Out = ()>where
In: 'static,
Out: 'static,{
// Required method
fn run(&self, input: In) -> Out;
}Expand description
A wrapper trait for calling callbacks.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".