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

error.Error.is_transient

Rust
  • Python 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/classification.rs
is_transient ( self ) → bool
method [source]
method [source]
is_transient

Report whether retrying the same call unchanged is safe and may succeed.

true means 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.

false does 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.

0 declared, 0 inherited

Esc

Type to search.