Skip to main content

SignRequestDyn

Trait SignRequestDyn 

Source
pub trait SignRequestDyn:
    Debug
    + Send
    + Sync
    + Unpin
    + 'static {
    type Credential: Send + Sync + Unpin + 'static;

    // Required method
    fn sign_request_dyn<'a>(
        &'a self,
        ctx: &'a Context,
        req: &'a mut Parts,
        credential: Option<&'a Self::Credential>,
        expires_in: Option<Duration>,
    ) -> BoxedFuture<'a, Result<()>>;
}
Expand description

SignRequestDyn is the dyn version of SignRequest.

Required Associated Types§

Source

type Credential: Send + Sync + Unpin + 'static

Credential used by this builder.

Required Methods§

Source

fn sign_request_dyn<'a>( &'a self, ctx: &'a Context, req: &'a mut Parts, credential: Option<&'a Self::Credential>, expires_in: Option<Duration>, ) -> BoxedFuture<'a, Result<()>>

Dyn version of SignRequest::sign_request.

Implementors§