pub trait Capability: Debug {
// Required method
fn manage_operation_state(&self, state: &OperationState) -> Result<()>;
}Expand description
Commonalities for capability components
Required Methods§
Sourcefn manage_operation_state(&self, state: &OperationState) -> Result<()>
fn manage_operation_state(&self, state: &OperationState) -> Result<()>
Checks whether state of capability component is appropriate for the given OperationState.
If not, implementation has to adjusts components state to needs.