pub fn actix_middleware() -> Sentry
Returns an Actix middleware that captures errors and traces when Sentry is enabled.