Enum peerbook::ConfyError
source · [−]pub enum ConfyError {
BadTomlData(Error),
DirectoryCreationFailed(Error),
GeneralLoadError(Error),
BadConfigDirectory(String),
SerializeTomlError(Error),
WriteConfigurationFileError(Error),
ReadConfigurationFileError(Error),
OpenConfigurationFileError(Error),
}Expand description
The errors the confy crate can encounter.
Variants
BadTomlData(Error)
DirectoryCreationFailed(Error)
GeneralLoadError(Error)
BadConfigDirectory(String)
SerializeTomlError(Error)
WriteConfigurationFileError(Error)
ReadConfigurationFileError(Error)
OpenConfigurationFileError(Error)
Trait Implementations
sourceimpl Debug for ConfyError
impl Debug for ConfyError
sourceimpl Display for ConfyError
impl Display for ConfyError
sourceimpl Error for ConfyError
impl Error for ConfyError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for ConfyError
impl Send for ConfyError
impl Sync for ConfyError
impl Unpin for ConfyError
impl !UnwindSafe for ConfyError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more