pub enum LaunchError {
CalloopExecutorError(ExecutorError),
CalloopChannelError(ChannelError),
IoError(Error),
}
Expand description
This is the error type that might be returned from the methods on the event
source itself. In general they are more “critical” than ErrorEvent
and
mean that the event source is unable to continue.
Variants§
Trait Implementations§
Source§impl Debug for LaunchError
impl Debug for LaunchError
Source§impl Display for LaunchError
impl Display for LaunchError
Source§impl Error for LaunchError
impl Error for LaunchError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ChannelError> for LaunchError
impl From<ChannelError> for LaunchError
Source§fn from(source: ChannelError) -> Self
fn from(source: ChannelError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for LaunchError
impl From<Error> for LaunchError
Source§impl From<ExecutorError> for LaunchError
impl From<ExecutorError> for LaunchError
Source§fn from(source: ExecutorError) -> Self
fn from(source: ExecutorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LaunchError
impl !RefUnwindSafe for LaunchError
impl Send for LaunchError
impl Sync for LaunchError
impl Unpin for LaunchError
impl !UnwindSafe for LaunchError
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