# version.TmuxVersion.ensure_supported

- **Module:** version.TmuxVersion
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/version.rs#L569
- **Page:** https://libtmux.org/en/rs/latest/reference/version-tmuxversion-ensure_supported/

```
version.TmuxVersion.ensure_supported(self) -> Result<(), Error>
```

Require this version to meet the crate's minimum supported release.

# Errors

Returns [`Error::UnsupportedTmuxVersion`] when the detected version does
not establish support for tmux 3.2a.

## Example

```rust
use libtmux::TmuxVersion;

let version = TmuxVersion::parse_output(b"tmux 3.2a\n")?;
version.ensure_supported()?;
```
