On this page
server.Server.capabilities
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
- capabilities ( self ) Result<&EngineCapabilities, Error>
-
Detect and share capabilities for the configured tmux executable.
Failed initialization is not cached and may be retried.
Errors
Returns an error when the executable cannot be run, its version probe fails, its output is invalid, or the detected version is unsupported.
Examples
let server = libtmux::Server::new()?; assert!(!server.capabilities().await?.tmux_version().raw().is_empty()); server.shutdown().await?;
0 declared, 0 inherited