Skip to main content

SignerAPI

Trait SignerAPI 

Source
pub trait SignerAPI {
    // Required methods
    fn pre_signed_url<'life0, 'life1, 'async_trait>(
        &'life0 self,
        input: &'life1 PreSignedURLInput,
    ) -> Pin<Box<dyn Future<Output = Result<PreSignedURLOutput, TosError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn pre_signed_post_signature<'life0, 'life1, 'async_trait>(
        &'life0 self,
        input: &'life1 PreSignedPostSignatureInput,
    ) -> Pin<Box<dyn Future<Output = Result<PreSignedPostSignatureOutput, TosError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn pre_signed_policy_url<'life0, 'life1, 'async_trait>(
        &'life0 self,
        input: &'life1 PreSignedPolicyURLInput,
    ) -> Pin<Box<dyn Future<Output = Result<PreSignedPolicyURLOutput, TosError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn pre_signed_url<'life0, 'life1, 'async_trait>( &'life0 self, input: &'life1 PreSignedURLInput, ) -> Pin<Box<dyn Future<Output = Result<PreSignedURLOutput, TosError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn pre_signed_post_signature<'life0, 'life1, 'async_trait>( &'life0 self, input: &'life1 PreSignedPostSignatureInput, ) -> Pin<Box<dyn Future<Output = Result<PreSignedPostSignatureOutput, TosError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn pre_signed_policy_url<'life0, 'life1, 'async_trait>( &'life0 self, input: &'life1 PreSignedPolicyURLInput, ) -> Pin<Box<dyn Future<Output = Result<PreSignedPolicyURLOutput, TosError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§

Source§

impl<P, C, S> SignerAPI for TosClientImpl<P, C, S>
where P: CredentialsProvider<C> + Send + Sync + 'static, C: Credentials + Send + Sync + 'static, S: AsyncRuntime + Send + Sync + 'static,