pub enum NightError {
Io(Error),
Config(String),
Task(String),
Mission(String),
Communication(String),
Serialization(Error),
Logging(SetLoggerError),
Unknown(String),
}Variants§
Io(Error)
Config(String)
Task(String)
Mission(String)
Communication(String)
Serialization(Error)
Logging(SetLoggerError)
Unknown(String)
Trait Implementations§
Source§impl Debug for NightError
impl Debug for NightError
Source§impl Display for NightError
impl Display for NightError
Source§impl Error for NightError
impl Error for NightError
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<Error> for NightError
impl From<Error> for NightError
Source§impl From<Error> for NightError
impl From<Error> for NightError
Source§impl From<SetLoggerError> for NightError
impl From<SetLoggerError> for NightError
Source§fn from(source: SetLoggerError) -> Self
fn from(source: SetLoggerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NightError
impl !RefUnwindSafe for NightError
impl Send for NightError
impl Sync for NightError
impl Unpin for NightError
impl !UnwindSafe for NightError
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