libtmux Reference MCP Search
On this page

server.Server.from_env_value

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
from_env_value ( value : Option<impl Into<OsString>> ) Result<Self, Error>
method [source]
method [source]
from_env_value

Build a server from an explicit TMUX value.

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.

0 declared, 0 inherited

Esc

Type to search.