Server.daemon_version
Return the version of the daemon this handle reaches.
Source and package
- Qualified name
-
libtmux::server:: Server:: daemon _version - Module
- server
- Declared in
Server- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
-
- Completion
- Returns a future that runs when awaited.signature · server.rs:846
- Errors
- Returns
Error::UnsupportedTmuxVersionorError::UnrecognizedTmuxVersionfor a daemon libtmux refuses,Error::InvalidVersionOutputorError::VersionProbeFailedwhen no version can be read, and a transport error when tmux cannot be run. A version probe may already have reached the daemon before an error.doc comment · :825
Description
The version has passed the supported-minimum check. A cold endpoint reports the executable that would start the daemon. The answer is cached with the handle's other version checks, so asking costs one probe at most, and no user hook runs.
Errors
Returns
Error::UnsupportedTmuxVersionorError::UnrecognizedTmuxVersionfor a daemon libtmux refuses,Error::InvalidVersionOutputorError::VersionProbeFailedwhen no version can be read, and a transport error when tmux cannot be run. A version probe may already have reached the daemon before an error.
Recorded calls
source callsThe Rust reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls server.Server.daemon_version.