Struct object_store::StaticCredentialProvider
source · pub struct StaticCredentialProvider<T> { /* private fields */ }
Expand description
A static set of credentials
Implementations§
source§impl<T> StaticCredentialProvider<T>
impl<T> StaticCredentialProvider<T>
sourcepub fn new(credential: T) -> Self
pub fn new(credential: T) -> Self
A CredentialProvider
for a static credential of type T
Trait Implementations§
source§impl<T> CredentialProvider for StaticCredentialProvider<T>
impl<T> CredentialProvider for StaticCredentialProvider<T>
Auto Trait Implementations§
impl<T> Freeze for StaticCredentialProvider<T>
impl<T> RefUnwindSafe for StaticCredentialProvider<T>where
T: RefUnwindSafe,
impl<T> Send for StaticCredentialProvider<T>
impl<T> Sync for StaticCredentialProvider<T>
impl<T> Unpin for StaticCredentialProvider<T>
impl<T> UnwindSafe for StaticCredentialProvider<T>where
T: RefUnwindSafe,
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