# window.Window.linked_sessions

- **Module:** window.Window
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/window/navigation.rs#L223
- **Page:** https://libtmux.org/en/rs/latest/reference/window-window-linked_sessions/

```
window.Window.linked_sessions(self) -> Result<Vec<Session>, Error>
```

The sessions this window is linked into, reporting why if it cannot.

# Errors

Returns an error when tmux cannot be reached or refuses a listing.
