[][src]Struct batchloader::BatchFuture

pub struct BatchFuture<'a, Key: Hash + Eq, Value, Error, Fut, Batcher, Delay> { /* fields omitted */ }

Trait Implementations

impl<'a, Key: Hash + Eq, Value, Error, Fut, Batcher, Delay> Drop for BatchFuture<'a, Key, Value, Error, Fut, Batcher, Delay>[src]

impl<'a, Key, Value, Error, Fut, Batcher, Delay> Future for BatchFuture<'a, Key, Value, Error, Fut, Batcher, Delay> where
    Key: Eq + Hash,
    Value: Clone,
    Error: Clone,
    Delay: Future<Output = ()>,
    Batcher: Clone + Fn(KeySet<Key>) -> Fut,
    Fut: Future<Output = Result<ValueSet<Value>, Error>>, 
[src]

type Output = Result<Value, Error>

The type of value produced on completion.

Auto Trait Implementations

impl<'a, Key, Value, Error, Fut, Batcher, Delay> RefUnwindSafe for BatchFuture<'a, Key, Value, Error, Fut, Batcher, Delay>

impl<'a, Key, Value, Error, Fut, Batcher, Delay> Send for BatchFuture<'a, Key, Value, Error, Fut, Batcher, Delay> where
    Batcher: Sync,
    Delay: Send,
    Error: Send,
    Fut: Send,
    Key: Send,
    Value: Send

impl<'a, Key, Value, Error, Fut, Batcher, Delay> Sync for BatchFuture<'a, Key, Value, Error, Fut, Batcher, Delay> where
    Batcher: Sync,
    Delay: Send,
    Error: Send,
    Fut: Send,
    Key: Send,
    Value: Send

impl<'a, Key, Value, Error, Fut, Batcher, Delay> Unpin for BatchFuture<'a, Key, Value, Error, Fut, Batcher, Delay>

impl<'a, Key, Value, Error, Fut, Batcher, Delay> UnwindSafe for BatchFuture<'a, Key, Value, Error, Fut, Batcher, Delay>

Blanket Implementations

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

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

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

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.