[][src]Struct actix_diesel_actor::WQuery

pub struct WQuery<W, I> {
    pub query: W,
    pub phantom: PhantomData<I>,
}

Fields

query: Wphantom: PhantomData<I>

Trait Implementations

impl<W, I: 'static> Message for WQuery<W, I>[src]

type Result = Result<Vec<I>, Error>

The type of value that this message will resolved with if it is successful. Read more

impl<W: LoadQuery<PgConnection, I>, I: 'static> Handler<WQuery<W, I>> for DbExecutor<PgConnection>[src]

type Result = Result<Vec<I>, Error>

The type of value that this handle will return

Auto Trait Implementations

impl<W, I> Send for WQuery<W, I> where
    I: Send,
    W: Send

impl<W, I> Sync for WQuery<W, I> where
    I: Sync,
    W: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> IntoSql for T[src]

fn into_sql<T>(self) -> Self::Expression where
    Self: AsExpression<T>, 
[src]

Convert self to an expression for Diesel's query builder. Read more

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
    &'a Self: AsExpression<T>, 
[src]

Convert &self to an expression for Diesel's query builder. Read more

impl<T> Erased for T