Skip to main content

MutationAuthority

Trait MutationAuthority 

Source
pub trait MutationAuthority {
    type Error;

    // Required method
    fn submit_command(
        &mut self,
        command: MutationCommand,
        durability: DurabilityPolicy,
    ) -> Result<MutationOutcome, Self::Error>;
}
Expand description

Engine-facing command submission contract.

Implementors own mutation ordering and persistence semantics.

Required Associated Types§

Source

type Error

Typed implementation error.

Required Methods§

Source

fn submit_command( &mut self, command: MutationCommand, durability: DurabilityPolicy, ) -> Result<MutationOutcome, Self::Error>

Submit a semantic mutation command through the authority lane.

Implementors§