pub struct HumusConfigError {
pub path: PathBuf,
pub cause: ErrorCause,
}
Expand description
Error type returned when reading a configuration file fails.
Fields§
§path: PathBuf
The path of the file that caused the error
cause: ErrorCause
What caused the error
Trait Implementations§
Source§impl Debug for HumusConfigError
impl Debug for HumusConfigError
Source§impl Display for HumusConfigError
impl Display for HumusConfigError
Source§impl Error for HumusConfigError
impl Error for HumusConfigError
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 HumusConfigError
impl !RefUnwindSafe for HumusConfigError
impl Send for HumusConfigError
impl Sync for HumusConfigError
impl Unpin for HumusConfigError
impl !UnwindSafe for HumusConfigError
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