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.
Auto Trait Implementations§
impl Freeze for Signer
impl RefUnwindSafe for Signer
impl Send for Signer
impl Sync for Signer
impl Unpin for Signer
impl UnwindSafe for Signer
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