[][src]Trait sentry_core::SentryFutureExt

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>>
, { ... } }

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>>, 

Binds a hub to the execution of this future.

This ensures that the future is polled within the given hub.

Loading content...

Implementors

impl<F> SentryFutureExt for F where
    F: Future
[src]

Loading content...