Struct aws_config::profile::app_name::ProfileFileAppNameProvider
source · [−]pub struct ProfileFileAppNameProvider { /* private fields */ }
Expand description
Loads an app name from a profile file
This provider will attempt to shared AWS shared configuration and then read the
sdk-ua-app-id
property from the active profile.
Examples
Loads “my-app” as the app name
[default]
sdk-ua-app-id = my-app
Loads “my-app” as the app name if and only if the AWS_PROFILE
environment variable
is set to other
.
[profile other]
sdk-ua-app-id = my-app
This provider is part of the default app name provider chain.
Implementations
sourceimpl ProfileFileAppNameProvider
impl ProfileFileAppNameProvider
Trait Implementations
sourceimpl Debug for ProfileFileAppNameProvider
impl Debug for ProfileFileAppNameProvider
sourceimpl Default for ProfileFileAppNameProvider
impl Default for ProfileFileAppNameProvider
sourcefn default() -> ProfileFileAppNameProvider
fn default() -> ProfileFileAppNameProvider
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProfileFileAppNameProvider
impl Send for ProfileFileAppNameProvider
impl Sync for ProfileFileAppNameProvider
impl Unpin for ProfileFileAppNameProvider
impl UnwindSafe for ProfileFileAppNameProvider
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more