Struct sentry_tower::SentryLayer
source · [−]pub struct SentryLayer<P, H, Request> where
P: HubProvider<H, Request>,
H: Into<Arc<Hub>>, { /* private fields */ }
Expand description
Tower layer that binds a specific Sentry hub for each request made.
Implementations
sourceimpl<P, H, Request> SentryLayer<P, H, Request> where
P: HubProvider<H, Request> + Clone,
H: Into<Arc<Hub>>,
impl<P, H, Request> SentryLayer<P, H, Request> where
P: HubProvider<H, Request> + Clone,
H: Into<Arc<Hub>>,
sourceimpl<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
sourceimpl<P, H, Request> Clone for SentryLayer<P, H, Request> where
P: HubProvider<H, Request> + Clone,
H: Into<Arc<Hub>>,
impl<P, H, Request> Clone for SentryLayer<P, H, Request> where
P: HubProvider<H, Request> + Clone,
H: Into<Arc<Hub>>,
sourceimpl<S, P, H, Request> Layer<S> for SentryLayer<P, H, Request> where
P: HubProvider<H, Request> + Clone,
H: Into<Arc<Hub>>,
impl<S, P, H, Request> Layer<S> for SentryLayer<P, H, Request> where
P: HubProvider<H, Request> + Clone,
H: Into<Arc<Hub>>,
Auto Trait Implementations
impl<P, H, Request> RefUnwindSafe for SentryLayer<P, H, Request> where
H: RefUnwindSafe,
P: RefUnwindSafe,
Request: RefUnwindSafe,
impl<P, H, Request> Send for SentryLayer<P, H, Request> where
H: Send,
P: Send,
Request: Send,
impl<P, H, Request> Sync for SentryLayer<P, H, Request> where
H: Sync,
P: Sync,
Request: Sync,
impl<P, H, Request> Unpin for SentryLayer<P, H, Request> where
H: Unpin,
P: Unpin,
Request: Unpin,
impl<P, H, Request> UnwindSafe for SentryLayer<P, H, Request> where
H: UnwindSafe,
P: UnwindSafe,
Request: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more