Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

error.Error.ClientSuspended

Rust
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
error
Declared in
Error
Package
libtmux
Source
crates/libtmux/src/error.rs
ClientSuspended
constant [source]
constant [source]
ClientSuspended

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::ObjectGone means it will not.

tmux omits a suspended client from list-clients while 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::suspend and locking a client arrive here, because tmux marks them with one flag. A client resumes when its process continues -- the suspended one on SIGCONT, the locked one when its lock-command exits.

0 declared, 0 inherited

Esc

Type to search.