Enum aws_config::profile::ProfileFileLoadError
source · pub enum ProfileFileLoadError {
ParseError(ProfileParseError),
CouldNotReadFile(CouldNotReadProfileFile),
}
Expand description
Failed to read or parse the profile file(s)
Variants§
ParseError(ProfileParseError)
The profile could not be parsed
CouldNotReadFile(CouldNotReadProfileFile)
Attempt to read the AWS config file (~/.aws/config
by default) failed with a filesystem error.
Trait Implementations§
source§impl Clone for ProfileFileLoadError
impl Clone for ProfileFileLoadError
source§fn clone(&self) -> ProfileFileLoadError
fn clone(&self) -> ProfileFileLoadError
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 ProfileFileLoadError
impl Debug for ProfileFileLoadError
source§impl Display for ProfileFileLoadError
impl Display for ProfileFileLoadError
source§impl Error for ProfileFileLoadError
impl Error for ProfileFileLoadError
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()
source§impl From<ProfileParseError> for ProfileFileLoadError
impl From<ProfileParseError> for ProfileFileLoadError
source§fn from(err: ProfileParseError) -> Self
fn from(err: ProfileParseError) -> Self
Converts to this type from the input type.