pub struct SpecificAzureCredential { /* private fields */ }
Implementations§
Source§impl SpecificAzureCredential
impl SpecificAzureCredential
pub fn create( options: TokenCredentialOptions, ) -> Result<SpecificAzureCredential>
Trait Implementations§
Source§impl Debug for SpecificAzureCredential
impl Debug for SpecificAzureCredential
Source§impl TokenCredential for SpecificAzureCredential
impl TokenCredential for SpecificAzureCredential
Source§fn get_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scopes: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = Result<AccessToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scopes: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = Result<AccessToken>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Gets a
AccessToken
for the specified resourceAuto Trait Implementations§
impl !Freeze for SpecificAzureCredential
impl !RefUnwindSafe for SpecificAzureCredential
impl Send for SpecificAzureCredential
impl Sync for SpecificAzureCredential
impl Unpin for SpecificAzureCredential
impl !UnwindSafe for SpecificAzureCredential
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