pane.PaneWait
Rust
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- pane
- Package
- libtmux
- Source
- crates/libtmux/src/pane.rs
-
What came of waiting for a pane to do something.
Running out of time is an outcome rather than an error, because a caller retries "it has not happened yet" and "tmux could not be reached" differently, and an error kind would make them look alike.
Examples
use libtmux::PaneWait;fn keep_waiting(outcome: PaneWait) -> bool {matches!(outcome, PaneWait::TimedOut)}assert!(keep_waiting(PaneWait::TimedOut));assert!(!keep_waiting(PaneWait::Dead));
3 declared, 0 inherited