[][src]Struct futures_dagtask::Sender

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

Methods

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

pub fn add_task<'a>(
    &'a self,
    deps: &'a [Index<I>],
    task: T
) -> impl Future<Output = Result<Index<I>, Error<T>>> + 'a
[src]

pub fn abort(self)[src]

Auto Trait Implementations

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

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

impl<T, I, S> Unpin for Sender<T, I, S>

impl<T, I = u32, S = RandomState> !UnwindSafe for Sender<T, I, S>

impl<T, I = u32, S = RandomState> !RefUnwindSafe for Sender<T, I, S>

Blanket Implementations

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

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

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

type Error = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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