pub struct RecvFuture<'a, S: WatchSpec> { /* private fields */ }Expand description
Future returned by WatchReceiver::recv.
Trait Implementations§
Source§impl<S: WatchSpec> Drop for RecvFuture<'_, S>
impl<S: WatchSpec> Drop for RecvFuture<'_, S>
Source§impl<S: WatchSpec> Future for RecvFuture<'_, S>
impl<S: WatchSpec> Future for RecvFuture<'_, S>
Source§type Output = Result<WatchEvent<S>, WatchError>
type Output = Result<WatchEvent<S>, WatchError>
The type of value produced on completion.
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for RecvFuture<'a, S>
impl<'a, S> !Sync for RecvFuture<'a, S>
impl<'a, S> !UnwindSafe for RecvFuture<'a, S>
impl<'a, S> Freeze for RecvFuture<'a, S>where
&'a mut WatchReceiver<S>: Freeze,
impl<'a, S> Send for RecvFuture<'a, S>where
&'a mut WatchReceiver<S>: Send,
impl<'a, S> Unpin for RecvFuture<'a, S>where
&'a mut WatchReceiver<S>: Unpin,
impl<'a, S> UnsafeUnpin for RecvFuture<'a, S>where
&'a mut WatchReceiver<S>: UnsafeUnpin,
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<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