# server.settings.Server.option_names

- **Module:** server.settings.Server
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/server/settings.rs#L54
- **Page:** https://libtmux.org/reference/rs/server-settings-server-option_names/

```
server.settings.Server.option_names(self) -> Result<Vec<String>, Error>
```

List the server option names.

Values are not included: tmux renders them for display with three
different quoting styles, so re-parsing them would be guesswork. Read
each value with [`Server::get_option`], which returns exact bytes.

# Errors

Returns an error when tmux refuses the listing.
