Trait sentry::SentryFutureExt

source ·
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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<F> SentryFutureExt for F
where F: Future,