Enum asynchron::Progress [−][src]
pub enum Progress<C, T, E> {
Current(Option<C>),
Canceled,
Completed(T),
Error(E),
}Expand description
Result for Futurized task,
where C: type of ITaskHandle sync sender value, T: type of Completed value, E: type of Error value.
Variants
Current progress of the task
Tuple Fields of Current
0: Option<C>Indicates if the task is canceled
Trait Implementations
impl<C: PartialOrd, T: PartialOrd, E: PartialOrd> PartialOrd<Progress<C, T, E>> for Progress<C, T, E>
impl<C: PartialOrd, T: PartialOrd, E: PartialOrd> PartialOrd<Progress<C, T, E>> for Progress<C, T, E>
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<C, T, E> RefUnwindSafe for Progress<C, T, E> where
C: RefUnwindSafe,
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<C, T, E> UnwindSafe for Progress<C, T, E> where
C: UnwindSafe,
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more