Enum confy::ConfyError
source · pub enum ConfyError {
BadTomlData(Error),
DirectoryCreationFailed(Error),
GeneralLoadError(Error),
BadConfigDirectory(String),
SerializeTomlError(Error),
WriteConfigurationFileError(Error),
ReadConfigurationFileError(Error),
OpenConfigurationFileError(Error),
SetPermissionsFileError(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)
SetPermissionsFileError(Error)
Trait Implementations§
source§impl Debug for ConfyError
impl Debug for ConfyError
source§impl Display for ConfyError
impl Display for ConfyError
source§impl Error for ConfyError
impl Error for ConfyError
source§fn 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 · 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 !RefUnwindSafe for ConfyError
impl Send for ConfyError
impl Sync for ConfyError
impl Unpin for ConfyError
impl !UnwindSafe for ConfyError
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