pub struct StsClient { /* private fields */ }
Expand description
STS 临时密钥客户端
Implementations§
Source§impl StsClient
impl StsClient
Sourcepub async fn get_credentials(
&self,
request: GetCredentialsRequest,
) -> Result<TemporaryCredentials, CosError>
pub async fn get_credentials( &self, request: GetCredentialsRequest, ) -> Result<TemporaryCredentials, CosError>
获取临时密钥 使用腾讯云官方STS SDK的签名方法
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StsClient
impl !RefUnwindSafe for StsClient
impl Send for StsClient
impl Sync for StsClient
impl Unpin for StsClient
impl !UnwindSafe for StsClient
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