server.Server.environment_all
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- crates/libtmux/src/server/settings.rs
-
Read the server's whole environment.
Costs one tmux command, read the way
Session::environment_alldescribes: each value reads exactly asSelf::environmentreads it.Errors
Returns an error when tmux cannot be reached or refuses the listing, and
Error::DecodeListingwhen 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