[][src]Trait sentry::SentryFutureExt

pub trait SentryFutureExt {
    pub 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 as Future>::Output;

    where
        H: Into<Arc<Hub>>
, { ... } }

Future extensions for Sentry.

Provided methods

pub 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 as Future>::Output;
where
    H: Into<Arc<Hub>>, 
[src]

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