# version.TmuxVersion.ensure_supported

- **Module:** version.TmuxVersion
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/version.rs#L499
- **Page:** https://libtmux.org/reference/rs/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()?;
```
