pub enum DefaultFilePathError {
ParseError(Error),
ExpansionError(Error),
}Expand description
Errors that can occur when finding the default initialization file path
Variants§
ParseError(Error)
An error occurred while parsing the value of a variable specifying the initialization file path
ExpansionError(Error)
An error occurred while expanding the value of a variable specifying the initialization file path
Trait Implementations§
Source§impl Clone for DefaultFilePathError
impl Clone for DefaultFilePathError
Source§fn clone(&self) -> DefaultFilePathError
fn clone(&self) -> DefaultFilePathError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultFilePathError
impl Debug for DefaultFilePathError
Source§impl Display for DefaultFilePathError
impl Display for DefaultFilePathError
Source§impl Error for DefaultFilePathError
impl Error for DefaultFilePathError
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<Error> for DefaultFilePathError
impl From<Error> for DefaultFilePathError
Source§impl From<Error> for DefaultFilePathError
impl From<Error> for DefaultFilePathError
Source§impl Handle for DefaultFilePathError
impl Handle for DefaultFilePathError
Source§impl PartialEq for DefaultFilePathError
impl PartialEq for DefaultFilePathError
impl StructuralPartialEq for DefaultFilePathError
Auto Trait Implementations§
impl Freeze for DefaultFilePathError
impl !RefUnwindSafe for DefaultFilePathError
impl !Send for DefaultFilePathError
impl !Sync for DefaultFilePathError
impl Unpin for DefaultFilePathError
impl !UnwindSafe for DefaultFilePathError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more