pub struct LocalExecutorError(pub Pin<Box<dyn Future<Output = ()>>>);
Expand description
An error to notify that the current executor doesn’t support spawning local tasks. Holds the task that we tried to spawn.
Tuple Fields§
§0: Pin<Box<dyn Future<Output = ()>>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocalExecutorError
impl !RefUnwindSafe for LocalExecutorError
impl !Send for LocalExecutorError
impl !Sync for LocalExecutorError
impl Unpin for LocalExecutorError
impl !UnwindSafe for LocalExecutorError
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