Skip to main content

MutationCommandBoundary

Trait MutationCommandBoundary 

Source
pub trait MutationCommandBoundary<S: Clone + 'static> {
    // Required method
    fn with_command(
        &self,
        command: MutationCommand<'_, S>,
    ) -> Result<SQLResult, SQLError>;
}

Required Methods§

Source

fn with_command( &self, command: MutationCommand<'_, S>, ) -> Result<SQLResult, SQLError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§