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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

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