pub trait SmsProviderTrait: Send + Sync {
// Required methods
fn send_sms<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
to: &'life1 str,
body: &'life2 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get_messages<'life0, 'async_trait>(
&'life0 self,
limit: u32,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
SMS provider trait