# window.navigation.Window.linked_sessions

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

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

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

The loud form of [`Self::linked_sessions_or_empty`].

# Errors

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