pub struct TaskResult<R> {
pub result: Result<R, String>,
pub elapsed: Duration,
pub attempts: u32,
}Fields§
§result: Result<R, String>§elapsed: Duration§attempts: u32Implementations§
Auto Trait Implementations§
impl<R> Freeze for TaskResult<R>where
R: Freeze,
impl<R> RefUnwindSafe for TaskResult<R>where
R: RefUnwindSafe,
impl<R> Send for TaskResult<R>where
R: Send,
impl<R> Sync for TaskResult<R>where
R: Sync,
impl<R> Unpin for TaskResult<R>where
R: Unpin,
impl<R> UnsafeUnpin for TaskResult<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for TaskResult<R>where
R: 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