pub type NewSentryService<S, Request> = SentryService<S, NewFromTopProvider, Arc<Hub>, Request>;
Expand description
Tower service that binds a new Sentry hub for each request made.
Aliased Type§
struct NewSentryService<S, Request> { /* private fields */ }
Implementations§
Source§impl<S, Request> NewSentryService<S, Request>
impl<S, Request> NewSentryService<S, Request>
Sourcepub fn new_from_top(service: S) -> Self
pub fn new_from_top(service: S) -> Self
Wrap a Tower service with a Tower layer that binds a Sentry hub for each request made.