Command

Trait Command 

Source
pub trait Command {
    type Output;

    // Required method
    fn execute<C: Connection + ?Sized>(
        self,
        connection: &mut C,
    ) -> impl Future<Output = Result<Self::Output, C::Error>>;
}

Required Associated Types§

Required Methods§

Source

fn execute<C: Connection + ?Sized>( self, connection: &mut C, ) -> impl Future<Output = Result<Self::Output, C::Error>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§