pub enum TimerError {
Io(Error),
TomlSerialization(Error),
TomlDeserialization(Error),
Config(ConfigError),
ConfigFile(HomeDirError),
SystemTime(SystemTimeError),
}Variants§
Io(Error)
IO operations on timer module.
TomlSerialization(Error)
TOML serialization.
TomlDeserialization(Error)
TOML deserialization.
Config(ConfigError)
Config error
ConfigFile(HomeDirError)
Config directory errors.
SystemTime(SystemTimeError)
SystemTime error
Trait Implementations§
Source§impl Debug for TimerError
impl Debug for TimerError
Source§impl Display for TimerError
impl Display for TimerError
Source§impl Error for TimerError
impl Error for TimerError
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 TimerError
impl From<ConfigError> for TimerError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for TimerError
impl From<Error> for TimerError
Source§impl From<Error> for TimerError
impl From<Error> for TimerError
Source§fn from(source: SerTomlError) -> Self
fn from(source: SerTomlError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for TimerError
impl From<Error> for TimerError
Source§fn from(source: DerTomlError) -> Self
fn from(source: DerTomlError) -> Self
Converts to this type from the input type.
Source§impl From<HomeDirError> for TimerError
impl From<HomeDirError> for TimerError
Source§fn from(source: HomeDirError) -> Self
fn from(source: HomeDirError) -> Self
Converts to this type from the input type.
Source§impl From<SystemTimeError> for TimerError
impl From<SystemTimeError> for TimerError
Source§fn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> 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 TimerError
impl !RefUnwindSafe for TimerError
impl Send for TimerError
impl Sync for TimerError
impl Unpin for TimerError
impl !UnwindSafe for TimerError
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