Struct reqsign::AliyunOssSigner
source · pub struct AliyunOssSigner { /* private fields */ }
Expand description
Singer for Aliyun OSS.
Implementations§
source§impl Signer
impl Signer
sourcepub fn sign(
&self,
req: &mut impl SignableRequest,
cred: &Credential
) -> Result<()>
pub fn sign( &self, req: &mut impl SignableRequest, cred: &Credential ) -> Result<()>
Signing request with header.
sourcepub fn sign_query(
&self,
req: &mut impl SignableRequest,
expire: Duration,
cred: &Credential
) -> Result<()>
pub fn sign_query( &self, req: &mut impl SignableRequest, expire: Duration, cred: &Credential ) -> Result<()>
Signing request with query.