pub struct LocalCancellation<'a> { /* private fields */ }Expand description
Scoped notification of local cancellation for one Cx.
This future watches only FrankenSQLite’s local cancellation state. It does not inspect or modify a native runtime context, carry effect capabilities, or create a child context. The constructor determines whether masking defers readiness or whether the raw request itself is sufficient.
A pending registration is removed on Drop, so repeatedly creating and
abandoning these futures does not accumulate stale child or waker entries.
Trait Implementations§
Source§impl<'a> Debug for LocalCancellation<'a>
impl<'a> Debug for LocalCancellation<'a>
Source§impl Drop for LocalCancellation<'_>
impl Drop for LocalCancellation<'_>
Source§impl Future for LocalCancellation<'_>
impl Future for LocalCancellation<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LocalCancellation<'a>
impl<'a> !UnwindSafe for LocalCancellation<'a>
impl<'a> Freeze for LocalCancellation<'a>
impl<'a> Send for LocalCancellation<'a>
impl<'a> Sync for LocalCancellation<'a>
impl<'a> Unpin for LocalCancellation<'a>
impl<'a> UnsafeUnpin for LocalCancellation<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<F> FutureExt for F
impl<F> FutureExt for F
Source§fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
Catches panics while polling the future. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more