relay_log::sentry

Trait SentryFutureExt

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§

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§

§

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