[][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> + QueryFragment<Pg>, 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> Sync for WQuery<W, I> where
    I: Sync,
    W: Sync

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

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

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

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

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Erased for T

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