Struct stack_queue::task::BatchReduce  
source · pub struct BatchReduce<'a, T, F, R, const N: usize>{ /* private fields */ }Trait Implementations§
source§impl<'a, T, F, R, const N: usize> Future for BatchReduce<'a, T, F, R, N>where
    T: BatchReducer + LocalQueue<N, BufferCell = BufferCell<T::Task>>,
    F: for<'b> FnOnce(BufferIter<'b, T::Task, N>) -> R + Send,
 
impl<'a, T, F, R, const N: usize> Future for BatchReduce<'a, T, F, R, N>where
    T: BatchReducer + LocalQueue<N, BufferCell = BufferCell<T::Task>>,
    F: for<'b> FnOnce(BufferIter<'b, T::Task, N>) -> R + Send,
impl<'pin, 'a, T, F, R, const N: usize> Unpin for BatchReduce<'a, T, F, R, N>where
    T: BatchReducer,
    F: for<'b> FnOnce(BufferIter<'b, T::Task, N>) -> R + Send,
    __BatchReduce<'pin, 'a, T, F, R, N>: Unpin,
Auto Trait Implementations§
impl<'a, T, F, R, const N: usize> Freeze for BatchReduce<'a, T, F, R, N>
impl<'a, T, F, R, const N: usize> !RefUnwindSafe for BatchReduce<'a, T, F, R, N>
impl<'a, T, F, R, const N: usize> Send for BatchReduce<'a, T, F, R, N>
impl<'a, T, F, R, const N: usize> Sync for BatchReduce<'a, T, F, R, N>where
    F: Sync,
impl<'a, T, F, R, const N: usize> !UnwindSafe for BatchReduce<'a, T, F, R, N>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<F> IntoFuture for Fwhere
    F: Future,
 
impl<F> IntoFuture for Fwhere
    F: Future,
§type IntoFuture = F
 
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
 
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more
source§impl<T> IntoSql for T
 
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
 
fn into_sql<T>(self) -> Self::Expression
Convert 
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
 
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert 
&self to an expression for Diesel’s query builder. Read more