pub struct CredentialsLoadFromDiskBuilder<__State: __CredentialsLoadFromDiskBuilderState = (Optional<PathBuf>,)> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::call()
.
Implementations§
source§impl<__State: __CredentialsLoadFromDiskBuilderState> CredentialsLoadFromDiskBuilder<__State>
impl<__State: __CredentialsLoadFromDiskBuilderState> CredentialsLoadFromDiskBuilder<__State>
source§impl<__State: __CredentialsLoadFromDiskBuilderState<CustomCredentialsPath = Optional<PathBuf>>> CredentialsLoadFromDiskBuilder<__State>
impl<__State: __CredentialsLoadFromDiskBuilderState<CustomCredentialsPath = Optional<PathBuf>>> CredentialsLoadFromDiskBuilder<__State>
sourcepub fn maybe_custom_credentials_path(
self,
value: Option<impl Into<PathBuf>>,
) -> __CredentialsLoadFromDiskBuilderSetCustomCredentialsPath
pub fn maybe_custom_credentials_path( self, value: Option<impl Into<PathBuf>>, ) -> __CredentialsLoadFromDiskBuilderSetCustomCredentialsPath
Same as Self::custom_credentials_path
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn custom_credentials_path(
self,
value: impl Into<PathBuf>,
) -> __CredentialsLoadFromDiskBuilderSetCustomCredentialsPath
pub fn custom_credentials_path( self, value: impl Into<PathBuf>, ) -> __CredentialsLoadFromDiskBuilderSetCustomCredentialsPath
Sets the value of custom_credentials_path
. See Credentials::load_from_disk()
for more info.
Auto Trait Implementations§
impl<__State> Freeze for CredentialsLoadFromDiskBuilder<__State>where
<__State as __CredentialsLoadFromDiskBuilderState>::CustomCredentialsPath: Freeze,
impl<__State> RefUnwindSafe for CredentialsLoadFromDiskBuilder<__State>where
<__State as __CredentialsLoadFromDiskBuilderState>::CustomCredentialsPath: RefUnwindSafe,
__State: RefUnwindSafe,
impl<__State> Send for CredentialsLoadFromDiskBuilder<__State>
impl<__State> Sync for CredentialsLoadFromDiskBuilder<__State>
impl<__State> Unpin for CredentialsLoadFromDiskBuilder<__State>
impl<__State> UnwindSafe for CredentialsLoadFromDiskBuilder<__State>where
<__State as __CredentialsLoadFromDiskBuilderState>::CustomCredentialsPath: UnwindSafe,
__State: UnwindSafe,
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