pub struct ArmedWait { /* private fields */ }Expand description
A daemon-armed wait for future pane output.
Values are returned by Pane::wait_for_next
and Pane::wait_for_text_next after the
SDK has written the daemon wait request. Awaiting the value completes when
that daemon wait reports a match. Dropping it before a match sends a
best-effort SDK wait cancellation request; cancellation never closes panes,
sessions, child processes, or the daemon.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ArmedWait
impl !UnwindSafe for ArmedWait
impl Freeze for ArmedWait
impl Send for ArmedWait
impl Sync for ArmedWait
impl Unpin for ArmedWait
impl UnsafeUnpin for ArmedWait
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