Error.ServerMismatch
Handles passed to one operation belong to different tmux endpoints.
Source and package
- Qualified name
-
libtmux::error:: Error:: Server Mismatch - Module
- error
- Declared in
Error- Package
- libtmux
- Source
- crates/libtmux/src/error.rs
-
Description#
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.