pub struct WaitTimeoutError { /* private fields */ }Expand description
Timeout details for a visible text wait.
Implementations§
Source§impl WaitTimeoutError
impl WaitTimeoutError
Sourcepub const fn last_snapshot(&self) -> &PaneSnapshot
pub const fn last_snapshot(&self) -> &PaneSnapshot
Returns the last visible snapshot captured before timeout.
Sourcepub fn last_visible_text(&self) -> String
pub fn last_visible_text(&self) -> String
Returns the last visible screen text captured before timeout.
Trait Implementations§
Source§impl Debug for WaitTimeoutError
impl Debug for WaitTimeoutError
Source§impl Display for WaitTimeoutError
impl Display for WaitTimeoutError
Source§impl Error for WaitTimeoutError
impl Error for WaitTimeoutError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for WaitTimeoutError
impl RefUnwindSafe for WaitTimeoutError
impl Send for WaitTimeoutError
impl Sync for WaitTimeoutError
impl Unpin for WaitTimeoutError
impl UnsafeUnpin for WaitTimeoutError
impl UnwindSafe for WaitTimeoutError
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