pub enum AtlasCLIConfigSourceError {
FailedToReadFile(PathBuf, Error),
FailedToParseTOML(Error),
InvalidRootExpectedTable,
InvalidProfileExpectedTable,
}Variants§
FailedToReadFile(PathBuf, Error)
FailedToParseTOML(Error)
InvalidRootExpectedTable
InvalidProfileExpectedTable
Trait Implementations§
Source§impl Debug for AtlasCLIConfigSourceError
impl Debug for AtlasCLIConfigSourceError
Source§impl Display for AtlasCLIConfigSourceError
impl Display for AtlasCLIConfigSourceError
Source§impl Error for AtlasCLIConfigSourceError
impl Error for AtlasCLIConfigSourceError
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<AtlasCLIConfigSourceError> for ConfigError
impl From<AtlasCLIConfigSourceError> for ConfigError
Source§fn from(error: AtlasCLIConfigSourceError) -> Self
fn from(error: AtlasCLIConfigSourceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AtlasCLIConfigSourceError
impl !RefUnwindSafe for AtlasCLIConfigSourceError
impl Send for AtlasCLIConfigSourceError
impl Sync for AtlasCLIConfigSourceError
impl Unpin for AtlasCLIConfigSourceError
impl !UnwindSafe for AtlasCLIConfigSourceError
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