pub trait Activate<A> {
type Cont<B>;
// Required method
fn activate<V, F>(&self, f: F) -> Self::Cont<V>
where F: Fn(A) -> V;
}Expand description
The Activate trait establishes a common interface for entities that can be activated
according to some function
Required Associated Types§
Required Methods§
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.