Struct sentry_tower::SentryLayer
source · 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