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.session_by_id

Find the session with this id.

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

Description#

Errors

Returns an error when the session listing fails.

Parameters
Esc

Type to search.

Reference previewOpen reference