pub struct SentryLayer<P, H, Request>{ /* private fields */ }
Expand description
Tower layer that binds a specific Sentry hub for each request made.
Implementations§
Source§impl<P, H, Request> SentryLayer<P, H, Request>
impl<P, H, Request> SentryLayer<P, H, Request>
Source§impl<Request> SentryLayer<NewFromTopProvider, Arc<Hub>, Request>
impl<Request> SentryLayer<NewFromTopProvider, Arc<Hub>, 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
Trait Implementations§
Source§impl<P, H, Request> Clone for SentryLayer<P, H, Request>
impl<P, H, Request> Clone for SentryLayer<P, H, Request>
Source§impl<S, P, H, Request> Layer<S> for SentryLayer<P, H, Request>
impl<S, P, H, Request> Layer<S> for SentryLayer<P, H, Request>
Auto Trait Implementations§
impl<P, H, Request> Freeze for SentryLayer<P, H, Request>where
P: Freeze,
impl<P, H, Request> RefUnwindSafe for SentryLayer<P, H, Request>
impl<P, H, Request> Send for SentryLayer<P, H, Request>
impl<P, H, Request> Sync for SentryLayer<P, H, Request>
impl<P, H, Request> Unpin for SentryLayer<P, H, Request>
impl<P, H, Request> UnwindSafe for SentryLayer<P, H, Request>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more