Type Alias sentry_tower::NewSentryService
source · 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.