pub trait UploadTokenProviderExt: UploadTokenProvider {
    fn bucket_name(
        &self,
        opts: GetPolicyOptions
    ) -> Result<BucketName, ParseError> { ... } fn async_bucket_name(
        &self,
        opts: GetPolicyOptions
    ) -> Pin<Box<dyn Future<Output = Result<BucketName, ParseError>> + Send, Global>> { ... } }
Expand description

上传凭证获取接口扩展

提供存储空间名称解析方法

Provided Methods

获取上传凭证中的存储空间名称

该方法的异步版本为 Self::async_bucket_name

异步获取上传凭证中的存储空间名称

Implementors