# snapshot.hydrate_session_infos_from_stdout

- **Module:** snapshot
- **Package:** libtmux
- **Language:** Rust
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/snapshot.rs#L1555
- **Page:** https://libtmux.org/reference/rs/snapshot-hydrate_session_infos_from_stdout/

```
snapshot.hydrate_session_infos_from_stdout(plan: &FormatPlan, stdout: &[u8]) -> Result<Vec<SessionInfo>, FormatCodecError>
```

Decode a complete `list-sessions` stdout into ordered snapshots.

Sessions and clients are intrinsic rather than projected, so they carry no
winlink edge and need no server identity. Order is tmux's own.
