Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Rust API

constant libtmux-rs latest

Error.UnsupportedCapability

The running tmux is too old for a capability the caller asked for.

Source and package
Qualified name
libtmux::error::Error::UnsupportedCapability
Module
error
Declared in
Error
Package
libtmux
Source
crates/libtmux/src/error.rs
UnsupportedCapability { capability: &'static str, needs: ReleaseVersion, found: TmuxVersion, }

Description#

Distinct from Error::UnsupportedTmuxVersion, which is about the crate's own floor: this one says the crate works here and the feature does not. tmux itself would usually accept the flag and quietly ignore it, which turns "your tmux is too old" into "the command did nothing", so it is reported rather than passed through.

Fields3#

UnsupportedCapability fields
NameTypeDescription
capability &'static str What the caller asked for, named as a caller would say it.
needs ReleaseVersion The first release that has it.
found TmuxVersion The release actually running.
Esc

Type to search.

Reference previewOpen reference