pub(crate) enum ProgramError {
OpenLogFile {
path: PathBuf,
cause: Error,
},
LogFilter(FromEnvError),
LogInit(TryInitError),
AsyncRuntime(Error),
TuiApp(Error),
TuiRuntime(Error),
}
Variants§
OpenLogFile
LogFilter(FromEnvError)
LogInit(TryInitError)
AsyncRuntime(Error)
TuiApp(Error)
TuiRuntime(Error)
Trait Implementations§
Source§impl Debug for ProgramError
impl Debug for ProgramError
Source§impl Display for ProgramError
impl Display for ProgramError
Source§impl Error for ProgramError
impl Error for ProgramError
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 ProgramError
impl From<Error> for ProgramError
Source§impl From<Error> for ProgramError
impl From<Error> for ProgramError
Source§impl From<FromEnvError> for ProgramError
impl From<FromEnvError> for ProgramError
Source§fn from(source: FromEnvError) -> Self
fn from(source: FromEnvError) -> Self
Converts to this type from the input type.
Source§impl From<TryInitError> for ProgramError
impl From<TryInitError> for ProgramError
Source§fn from(source: TryInitError) -> Self
fn from(source: TryInitError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProgramError
impl !RefUnwindSafe for ProgramError
impl Send for ProgramError
impl Sync for ProgramError
impl Unpin for ProgramError
impl !UnwindSafe for ProgramError
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