Skip to main content

EasyExecutorInto

Trait EasyExecutorInto 

Source
pub trait EasyExecutorInto<D: Driver>: EasyExecutor<D> {
    type IntoInternalExecutor<'b>: Executor<'b, Database = D::InternalDriver>
       where Self: 'b;

    // Required method
    fn into_executor<'a>(self) -> Self::IntoInternalExecutor<'a>
       where Self: 'a;
}

Required Associated Types§

Source

type IntoInternalExecutor<'b>: Executor<'b, Database = D::InternalDriver> where Self: 'b

Required Methods§

Source

fn into_executor<'a>(self) -> Self::IntoInternalExecutor<'a>
where Self: 'a,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<D: Driver, E: EasyExecutor<D> + ?Sized> EasyExecutorInto<D> for &mut E

Source§

type IntoInternalExecutor<'b> = <E as EasyExecutor<D>>::InternalExecutor<'b> where Self: 'b

Source§

fn into_executor<'a>(self) -> Self::IntoInternalExecutor<'a>
where Self: 'a,

Implementors§