pub enum Error<'a> {
Driver(&'a mut CreateError),
Shutdown(Register),
}Expand description
Failure to construct an executor and its optional shutdown source.
Variants§
Driver(&'a mut CreateError)
Shutdown(Register)
Implementations§
Trait Implementations§
Source§impl<'a> From<&'a mut CreateError> for Error<'a>
impl<'a> From<&'a mut CreateError> for Error<'a>
Source§fn from(error: &'a mut CreateError) -> Self
fn from(error: &'a mut CreateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> !Send for Error<'a>
impl<'a> !Sync for Error<'a>
impl<'a> !UnwindSafe for Error<'a>
impl<'a> Forget for Error<'a>
impl<'a> Freeze for Error<'a>
impl<'a> RefUnwindSafe for Error<'a>
impl<'a> Unpin for Error<'a>
impl<'a> UnsafeUnpin for Error<'a>
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