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§
Required Methods§
Sourcefn submit_command(
&mut self,
command: MutationCommand,
durability: DurabilityPolicy,
) -> Result<MutationOutcome, Self::Error>
fn submit_command( &mut self, command: MutationCommand, durability: DurabilityPolicy, ) -> Result<MutationOutcome, Self::Error>
Submit a semantic mutation command through the authority lane.