pub enum BabyriteConfigError {
Read,
Parse,
Set,
}Expand description
Errors that can occur when loading configuration.
Variants§
Read
Failed to read the configuration file from disk.
Parse
Failed to parse the configuration file contents.
Set
Failed to set the global configuration.
Trait Implementations§
Source§impl Debug for BabyriteConfigError
impl Debug for BabyriteConfigError
Source§impl Display for BabyriteConfigError
impl Display for BabyriteConfigError
Source§impl Error for BabyriteConfigError
impl Error for BabyriteConfigError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for BabyriteConfigError
impl RefUnwindSafe for BabyriteConfigError
impl Send for BabyriteConfigError
impl Sync for BabyriteConfigError
impl Unpin for BabyriteConfigError
impl UnwindSafe for BabyriteConfigError
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