pub trait CredentialProvider: DynClone + Debug + Sync + Send {
    fn get(&self, opts: GetOptions) -> IoResult<GotCredential>;

    fn async_get(
        &self,
        opts: GetOptions
    ) -> Pin<Box<dyn Future<Output = IoResult<GotCredential>> + Send + '_>> { ... } }
Expand description

认证信息获取接口

Required methods

返回七牛认证信息

Provided methods

This is supported on crate feature async only.

异步返回七牛认证信息

Implementations on Foreign Types

返回七牛认证信息

This is supported on crate feature async only.

异步返回七牛认证信息

返回七牛认证信息

This is supported on crate feature async only.

异步返回七牛认证信息

返回七牛认证信息

This is supported on crate feature async only.

异步返回七牛认证信息

返回七牛认证信息

This is supported on crate feature async only.

异步返回七牛认证信息

返回七牛认证信息

This is supported on crate feature async only.

异步返回七牛认证信息

Implementors