Type Alias sentry_tower::NewSentryLayer

source ·
pub type NewSentryLayer<Request> = SentryLayer<NewFromTopProvider, Arc<Hub>, Request>;
Expand description

Tower layer that binds a new Sentry hub for each request made

Aliased Type§

struct NewSentryLayer<Request> { /* private fields */ }

Implementations§

source§

impl<Request> NewSentryLayer<Request>

source

pub fn new_from_top() -> Self

Create a new Sentry layer that binds a new Sentry hub for each request made