Error.is_transient
Report whether retrying the same call unchanged is safe and may succeed.
Source and package
- Qualified name
-
libtmux::error:: Error:: is _transient - Module
- error
- Declared in
Error- Package
- libtmux
- Source
- crates/libtmux/src/error/classification.rs
-
Description#
truemeans this error proves that the requested mutation did not run, or came from an operation that only reads state. The condition may need to clear first: capacity can become available, a client can resume, a resource-limited spawn can be retried, or a server can answer again.falsedoes not mean that the handle is unusable. A subprocess timeout, output-reader failure, child-wait failure, or lost supervisor can leave the executor ready for another call, but tmux may already have carried out the first one. Replaying a mutation could duplicate its effect. A shut down executor and a closed or timed-out control connection are also false because they require a new server or connection.