sentry_tower

Type Alias 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>

Source

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.