Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Rust API

Rust documentation

server.Server.environment_all

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server/settings.rs
environment_all ( self ) → Result<BTreeMap<String, EnvironmentEntry>, Error>
method [source]
method [source]
environment_all

Read the server's whole environment.

Costs one tmux command, read the way Session::environment_all describes: each value reads exactly as Self::environment reads it.

Errors

Returns an error when tmux cannot be reached or refuses the listing, and Error::DecodeListing when the listing is not in the shape tmux prints. An empty map means the server holds nothing, never that the listing failed.

Discussed in Environment

0 declared, 0 inherited

Esc

Type to search.