Skip to main content

LifecyclePerformer

Trait LifecyclePerformer 

Source
pub trait LifecyclePerformer {
    // Required methods
    fn identity(&self) -> Datum;
    fn perform(
        &mut self,
        dispatch: &FencedDispatch,
    ) -> LifecyclePerformerResponse;
}
Expand description

Effect authority invoked only after a matching fenced dispatch is durable.

Required Methods§

Source

fn identity(&self) -> Datum

Returns the stable performer authority identity.

Source

fn perform(&mut self, dispatch: &FencedDispatch) -> LifecyclePerformerResponse

Performs the exact durable dispatch once.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§