pub struct BackendWaitFuture { /* private fields */ }Expand description
Future returned by WaiterThread::enqueue. Resolves when the
waiter thread reports Signaled / Failed / Err(Timeout) on
the deadline.
Drop semantics — Drop flips the cancellation flag the waiter
thread observes at the next slice boundary. The native wait
already in flight completes its current slice (up to
WAITER_SLICE) before the slot is released; cancellation
latency is bounded.
Trait Implementations§
Source§impl Debug for BackendWaitFuture
impl Debug for BackendWaitFuture
Source§impl Drop for BackendWaitFuture
impl Drop for BackendWaitFuture
Source§impl Future for BackendWaitFuture
impl Future for BackendWaitFuture
Auto Trait Implementations§
impl Freeze for BackendWaitFuture
impl RefUnwindSafe for BackendWaitFuture
impl Send for BackendWaitFuture
impl Sync for BackendWaitFuture
impl Unpin for BackendWaitFuture
impl UnsafeUnpin for BackendWaitFuture
impl UnwindSafe for BackendWaitFuture
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> 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