# server.Server.clients

- **Module:** server.Server
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/server/discovery.rs#L55
- **Page:** https://libtmux.org/en/rs/latest/reference/server-server-clients/

```
server.Server.clients(self) -> Result<Vec<Client>, Error>
```

List every client attached to the server, preserving any failure.

# Errors

Returns an error when the list command cannot run, or when its output
cannot be decoded into snapshots.
