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

error.Error.ServerMismatch

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.rs
ServerMismatch
constant [source]
constant [source]
ServerMismatch

Handles passed to one operation belong to different tmux endpoints.

An endpoint here is a socket path, which is what separates two servers running at once. It does not separate a server from the one that replaced it on the same socket: that daemon reissues ids from the start, so a handle held across the restart names something live and is not refused. crate::Server::require_generation is what tells those two apart, and it costs the round trip this check does not spend.

0 declared, 0 inherited

Esc

Type to search.