pub struct TerminalLoadStateWait { /* private fields */ }Expand description
Awaitable terminal load-state wait.
Implementations§
Source§impl TerminalLoadStateWait
impl TerminalLoadStateWait
Sourcepub const fn timeout(self, timeout: Duration) -> Self
pub const fn timeout(self, timeout: Duration) -> Self
Overrides the overall timeout for this wait.
Sourcepub const fn poll_interval(self, interval: Duration) -> Self
pub const fn poll_interval(self, interval: Duration) -> Self
Overrides the snapshot polling interval for this wait.
Sourcepub const fn stable_for(self, quiet_for: Duration) -> Self
pub const fn stable_for(self, quiet_for: Duration) -> Self
Overrides the quiet window used by TerminalLoadState::Quiet.
Trait Implementations§
Source§impl Debug for TerminalLoadStateWait
impl Debug for TerminalLoadStateWait
Source§impl IntoFuture for TerminalLoadStateWait
impl IntoFuture for TerminalLoadStateWait
Source§type Output = Result<PaneSnapshot, RmuxError>
type Output = Result<PaneSnapshot, RmuxError>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <TerminalLoadStateWait as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <TerminalLoadStateWait as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for TerminalLoadStateWait
impl !UnwindSafe for TerminalLoadStateWait
impl Freeze for TerminalLoadStateWait
impl Send for TerminalLoadStateWait
impl Sync for TerminalLoadStateWait
impl Unpin for TerminalLoadStateWait
impl UnsafeUnpin for TerminalLoadStateWait
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