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

Build a server from an explicit TMUX value.

Source and package
Qualified name
libtmux::server::Server::from_env_value
Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
pub fn from_env_value( value: Option<impl Into<OsString>> ) -> Result<Self, Error>

Description#

This resolves on behalf of another pane, or in a test, without touching the process environment.

Errors

Returns an error when the value is absent, empty, or not shaped like tmux's triple, and when the socket path it names is unusable.

Parameters
Esc

Type to search.

Reference previewOpen reference