# session.Session.refreshed

- **Module:** session.Session
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/session.rs#L476
- **Page:** https://libtmux.org/en/rs/latest/reference/session-session-refreshed/

```
session.Session.refreshed(self) -> Result<Self, Error>
```

Return a new handle holding the session's current state.

# Errors

Returns [`Error::ObjectGone`] when the session no longer exists, or a
listing error when tmux could not be read.
