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.
Auto Trait Implementations§
impl !RefUnwindSafe for ProfileFileLoadError
impl Send for ProfileFileLoadError
impl Sync for ProfileFileLoadError
impl Unpin for ProfileFileLoadError
impl !UnwindSafe for ProfileFileLoadError
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.