Struct ReceiveFuture
pub struct ReceiveFuture<'ch, T> { /* private fields */ }Available on crate feature
sensors only.Expand description
A future that will resolve once a signal is sent.
Trait Implementations§
§impl<T> Future for ReceiveFuture<'_, T>
impl<T> Future for ReceiveFuture<'_, T>
Auto Trait Implementations§
impl<'ch, T> Freeze for ReceiveFuture<'ch, T>
impl<'ch, T> !RefUnwindSafe for ReceiveFuture<'ch, T>
impl<'ch, T> Send for ReceiveFuture<'ch, T>where
T: Send,
impl<'ch, T> Sync for ReceiveFuture<'ch, T>where
T: Send,
impl<'ch, T> Unpin for ReceiveFuture<'ch, T>
impl<'ch, T> !UnwindSafe for ReceiveFuture<'ch, T>
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<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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