Struct sentry_core::SentryFuture
source · [−]pub struct SentryFuture<F> { /* private fields */ }
Expand description
A future that binds a Hub
to its execution.
This activates the given hub for the duration of the inner futures poll
method. Users usually do not need to construct this type manually, but
rather use the FutureExt::bind_hub
method instead.
Implementations
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for SentryFuture<F> where
F: RefUnwindSafe,
impl<F> Send for SentryFuture<F> where
F: Send,
impl<F> Sync for SentryFuture<F> where
F: Sync,
impl<F> Unpin for SentryFuture<F> where
F: Unpin,
impl<F> UnwindSafe for SentryFuture<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.