[][src]Struct futures_dagtask::AddTask

pub struct AddTask<T, I = u32, S = RandomState> { /* fields omitted */ }

Methods

impl<T, I, S> AddTask<T, I, S> where
    T: Future,
    I: CheckedAdd + One + Hash + PartialEq + Eq + PartialOrd + Clone,
    S: BuildHasher
[src]

pub fn add_task(
    &self,
    deps: &[Index<I>],
    task: T
) -> Async<Result<Index<I>, Error<T>>>
[src]

pub fn abort(self)
[src]

Auto Trait Implementations

impl<T, I, S> Send for AddTask<T, I, S> where
    I: Send,
    S: Send,
    T: Send

impl<T, I, S> Sync for AddTask<T, I, S> where
    I: Send,
    S: Send,
    T: Send

Blanket Implementations

impl<T> From for T
[src]

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

impl<T, U> TryFrom for T where
    T: From<U>, 
[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, 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> BorrowMut for T where
    T: ?Sized
[src]

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