pub type Result<T, H = Box<dyn Error + Send + Sync>> = Result<T, WebhookError<H>>;
Expand description
Convenience Result type for webhook operations
Uses Box<dyn std::error::Error + Send + Sync>
as the default handler error type.
Aliased Type§
pub enum Result<T, H = Box<dyn Error + Send + Sync>> {
Ok(T),
Err(WebhookError<H>),
}