error.Error.ClientSuspended
Rust
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- error
- Declared in
- Error
- Package
- libtmux
- Source
- crates/libtmux/src/error.rs
-
A client is stopped rather than gone, so listings leave it out.
Distinct from
Self::ObjectGone, and the distinction decides whether to drop the handle: a suspended client is still on the server and is listed again once it resumes, so the same handle keeps working.Self::ObjectGonemeans it will not.tmux omits a suspended client from
list-clientswhile still resolving it as a command target, which is what makes the two tellable apart. The listing filters the dead, the exiting and the suspended together, so absence from it does not say which of the three happened.Both
crate::Client::suspendand locking a client arrive here, because tmux marks them with one flag. A client resumes when its process continues -- the suspended one onSIGCONT, the locked one when itslock-commandexits.
0 declared, 0 inherited