pub struct SpawnTaskResult<E> {
pub duration: Duration,
pub result: Result<(), RunTaskError<E>>,
}Fields§
§duration: Duration§result: Result<(), RunTaskError<E>>Implementations§
Trait Implementations§
Source§impl<E: Debug> Debug for SpawnTaskResult<E>
impl<E: Debug> Debug for SpawnTaskResult<E>
Source§impl<E: Ord> Ord for SpawnTaskResult<E>
impl<E: Ord> Ord for SpawnTaskResult<E>
Source§fn cmp(&self, other: &SpawnTaskResult<E>) -> Ordering
fn cmp(&self, other: &SpawnTaskResult<E>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<E: PartialEq> PartialEq for SpawnTaskResult<E>
impl<E: PartialEq> PartialEq for SpawnTaskResult<E>
Source§impl<E: PartialOrd> PartialOrd for SpawnTaskResult<E>
impl<E: PartialOrd> PartialOrd for SpawnTaskResult<E>
impl<E: Eq> Eq for SpawnTaskResult<E>
impl<E> StructuralPartialEq for SpawnTaskResult<E>
Auto Trait Implementations§
impl<E> Freeze for SpawnTaskResult<E>where
E: Freeze,
impl<E> RefUnwindSafe for SpawnTaskResult<E>where
E: RefUnwindSafe,
impl<E> Send for SpawnTaskResult<E>where
E: Send,
impl<E> Sync for SpawnTaskResult<E>where
E: Sync,
impl<E> Unpin for SpawnTaskResult<E>where
E: Unpin,
impl<E> UnwindSafe for SpawnTaskResult<E>where
E: UnwindSafe,
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