pub trait SentryFutureExt: Sized {
    // Provided method
    fn bind_hub<H>(self, hub: H) -> SentryFuture<Self> 
       where H: Into<Arc<Hub>> { ... }
}
Expand description

Future extensions for Sentry.

Provided Methods§

source

fn bind_hub<H>(self, hub: H) -> SentryFuture<Self> 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.

Implementors§

source§

impl<F> SentryFutureExt for Fwhere F: Future,