pub struct Watch<L: AsRef<CompletionLine> + Send + Sync + 'static> { /* private fields */ }Available on crate feature
std only.Expand description
The future of Watcher::wait: Send, usable on any runtime. Dropping it before it
resolves (a cancelled await) removes its registration.
Trait Implementations§
Auto Trait Implementations§
impl<L> Forget for Watch<L>
impl<L> Freeze for Watch<L>
impl<L> Move for Watch<L>
impl<L> RefUnwindSafe for Watch<L>
impl<L> Send for Watch<L>
impl<L> Sync for Watch<L>
impl<L> Unpin for Watch<L>
impl<L> UnsafeUnpin for Watch<L>
impl<L> UnwindSafe for Watch<L>
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
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