pub struct SingleProvider { /* private fields */ }Expand description
Single-provider facade over a shared Dispatcher.
Trait Implementations§
Source§impl AuthProvider for SingleProvider
impl AuthProvider for SingleProvider
Source§fn get_credential<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
env: &'life1 str,
command: &'life2 str,
tier: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Credential>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn get_credential<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
env: &'life1 str,
command: &'life2 str,
tier: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Credential>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Returns a credential for
env, command, and tier.Source§fn status<'life0, 'life1, 'async_trait>(
&'life0 self,
env: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Credential>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn status<'life0, 'life1, 'async_trait>(
&'life0 self,
env: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Credential>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Returns cached credential status for one environment.
Source§impl Clone for SingleProvider
impl Clone for SingleProvider
Source§fn clone(&self) -> SingleProvider
fn clone(&self) -> SingleProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SingleProvider
impl RefUnwindSafe for SingleProvider
impl Send for SingleProvider
impl Sync for SingleProvider
impl Unpin for SingleProvider
impl UnsafeUnpin for SingleProvider
impl UnwindSafe for SingleProvider
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