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

Rust API

Rust documentation

server.Server.require_generation

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

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
require_generation ( self , expected : ServerGeneration ) → Result<(), Error>
method [source]
method [source]
require_generation

Fail unless the daemon answering is still the one that was captured.

Errors

Returns Error::ServerGenerationChanged when a different daemon now holds this endpoint, or a transport error when tmux cannot be reached.

0 declared, 0 inherited

Esc

Type to search.