Trait Operation
Source pub trait Operation<T> {
// Required methods
fn execute(self) -> Result<T>;
fn reset(&mut self);
}
Expand description
Base trait for operations
Execute the operation and produce a result
Reset the operation to its initial state
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.