openzeppelin_relayer::servicesTrait WebhookNotificationServiceTrait
Source pub trait WebhookNotificationServiceTrait: Send + Sync {
// Required methods
fn send_notification<'life0, 'async_trait>(
&'life0 self,
notification: WebhookNotification,
) -> Pin<Box<dyn Future<Output = Result<WebhookResponse, WebhookNotificationError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn sign_payload(
&self,
payload: &str,
secret_key: &SecretString,
) -> Result<String, WebhookNotificationError>;
}