Type Definition 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
Implementations
sourceimpl<Request> NewSentryLayer<Request>
impl<Request> NewSentryLayer<Request>
sourcepub fn new_from_top() -> Self
pub fn new_from_top() -> Self
Create a new Sentry layer that binds a new Sentry hub for each request made