pub struct FakeTask;
Available on WebAssembly or non-crate feature
multi_threaded
only.Expand description
An empty task used in single-threaded contexts.
This does nothing and is therefore safe, and recommended, to ignore.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FakeTask
impl RefUnwindSafe for FakeTask
impl Send for FakeTask
impl Sync for FakeTask
impl Unpin for FakeTask
impl UnwindSafe for FakeTask
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