# server.Server.windows

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

```
server.Server.windows(self) -> Result<Vec<Window>, Error>
```

List every window 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.
