Trait sentry_core::SentryFutureExt [−][src]
pub trait SentryFutureExt: Sized { fn bind_hub<H>(self, hub: H) -> SentryFuture<Self>ⓘNotable traits for SentryFuture<F>
impl<F> Future for SentryFuture<F> where
F: Future, type Output = F::Output;
where
H: Into<Arc<Hub>>, { ... } }
Expand description
Future extensions for Sentry.
Provided methods
fn bind_hub<H>(self, hub: H) -> SentryFuture<Self>ⓘNotable traits for SentryFuture<F>
impl<F> Future for SentryFuture<F> where
F: Future, type Output = F::Output;
where
H: Into<Arc<Hub>>,
fn bind_hub<H>(self, hub: H) -> SentryFuture<Self>ⓘNotable traits for SentryFuture<F>
impl<F> Future for SentryFuture<F> where
F: Future, type Output = F::Output;
where
H: Into<Arc<Hub>>,
Binds a hub to the execution of this future.
This ensures that the future is polled within the given hub.