pub struct ToRun<J: JobUnit> { /* private fields */ }
Expand description
A job to be run by an Executor
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<J> Freeze for ToRun<J>where
J: Freeze,
impl<J> RefUnwindSafe for ToRun<J>where
J: RefUnwindSafe,
impl<J> Send for ToRun<J>
impl<J> Sync for ToRun<J>where
J: Sync,
impl<J> Unpin for ToRun<J>where
J: Unpin,
impl<J> UnwindSafe for ToRun<J>where
J: 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