Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

Server.check_alive

Require a tmux daemon to be answering at this endpoint.

Source and package
Qualified name
libtmux::server::Server::check_alive
Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
pub async fn check_alive(&self) -> Result<(), Error>

Description#

Errors

Returns Error::ServerGone when no daemon is answering, or another dispatch error when tmux cannot be asked.

tmux command#

The tmux commands behind check_alive.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss check_alive.

Esc

Type to search.

Reference previewOpen reference