# server.Server.panes

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

```
server.Server.panes(self) -> Result<Vec<Pane>, Error>
```

List every pane on the server, preserving any failure.

# Errors

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