Skip to main content

ComposeMutator

Trait ComposeMutator 

Source
pub trait ComposeMutator: Send + Sync {
    // Required method
    fn mutate_compose<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        host: &'life1 HostRecord,
        request: &'life2 ComposeMutationRequest,
        cancellation: &'life3 CancellationToken,
    ) -> Pin<Box<dyn Future<Output = MutationResult<ComposeMutationReceipt>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}
Expand description

Driver for Compose mutation commands.

Required Methods§

Source

fn mutate_compose<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, host: &'life1 HostRecord, request: &'life2 ComposeMutationRequest, cancellation: &'life3 CancellationToken, ) -> Pin<Box<dyn Future<Output = MutationResult<ComposeMutationReceipt>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Sends one Compose mutation while preserving send uncertainty.

Implementors§

Source§

impl<E> ComposeMutator for CommandComposeInspector<E>
where E: CommandExecutor,