Server.environment_all
Read the server's whole environment.
Source and package
- Qualified name
-
libtmux::server:: Server:: environment _all - Module
- server
- Declared in
Server- Package
- libtmux
- Source
- crates/libtmux/src/server/settings.rs
-
Description#
Costs one tmux command, read the way
Session::environment_all()describes: each value reads exactly asSelf::environment()reads 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.
Guides#
Pages that discuss environment_all.