Struct channel_loader::diesel::DieselLoader [−][src]
pub struct DieselLoader<T: DieselWorker> { /* fields omitted */ }
Expand description
a wrapper type that generically implements TaskHandler
for inner types that implement DieselWorker
Trait Implementations
type Error = SimpleDieselError
fn handle_task<'async_trait>(
task: Task<PendingAssignment<Self>>
) -> Pin<Box<dyn Future<Output = Task<CompletionReceipt<Self>>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for DieselLoader<T>
impl<T> Send for DieselLoader<T>
impl<T> Sync for DieselLoader<T>
impl<T> Unpin for DieselLoader<T>
impl<T> UnwindSafe for DieselLoader<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
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]
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