pub enum TuiError {
Io(Error),
Config(ConfigError),
Email(EmailError),
Timer(TimerError),
}Expand description
TUI Error type.
Variants§
Io(Error)
IO Error.
Config(ConfigError)
ConfigError blanket error conversion.
Email(EmailError)
EmailError blanket error conversion.
Timer(TimerError)
TimerError blanket error conversion.
Trait Implementations§
Source§impl Error for TuiError
impl Error for TuiError
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<ConfigError> for TuiError
impl From<ConfigError> for TuiError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<EmailError> for TuiError
impl From<EmailError> for TuiError
Source§fn from(source: EmailError) -> Self
fn from(source: EmailError) -> Self
Converts to this type from the input type.
Source§impl From<TimerError> for TuiError
impl From<TimerError> for TuiError
Source§fn from(source: TimerError) -> Self
fn from(source: TimerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TuiError
impl !RefUnwindSafe for TuiError
impl Send for TuiError
impl Sync for TuiError
impl Unpin for TuiError
impl !UnwindSafe for TuiError
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