pub struct TaskStub { /* private fields */ }
Expand description
A stub Task
.
This represents a Task
that will never actually be executed.
It is used exclusively for initializing a StaticScheduler
,
using the unsafe new_with_static_stub()
method.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TaskStub
impl Send for TaskStub
impl Sync for TaskStub
impl !Unpin for TaskStub
impl !UnwindSafe for TaskStub
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