pub struct Watcher<L: AsRef<CompletionLine> + Send + Sync + 'static> { /* private fields */ }Available on crate feature
std only.Expand description
A thread that watches completion lines and wakes the futures awaiting them. L is anything
that holds a line (a backend’s mapped line, an Arc’d plain line).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<L> !RefUnwindSafe for Watcher<L>
impl<L> !UnwindSafe for Watcher<L>
impl<L> Forget for Watcher<L>
impl<L> Freeze for Watcher<L>
impl<L> Move for Watcher<L>
impl<L> Send for Watcher<L>
impl<L> Sync for Watcher<L>
impl<L> Unpin for Watcher<L>
impl<L> UnsafeUnpin for Watcher<L>where
Arc<Shared<L>>: 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