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.CapabilityDefective

tmux has this capability and the running release gets it wrong.

Source and package
Qualified name
libtmux::error::Error::CapabilityDefective
Module
error
Declared in
Error
Package
libtmux
Source
crates/libtmux/src/error.rs

Description#

Distinct from Self::UnsupportedCapability, which means the release predates the feature and the answer is to upgrade. Here releases on both sides work, so neither "upgrade" nor "the floor is too low" is the fix: the caller has to leave a specific range.

Raised rather than returning what the release reports, because what it reports is wrong in a way the caller cannot see.

Fields4#

CapabilityDefective fields
NameTypeDescription
capability &'static str What the caller asked for, named as a caller would say it.
found TmuxVersion The release actually running.
broken_in ReleaseVersion The first release that gets it wrong.
fixed_in ReleaseVersion The first release that gets it right again.
Esc

Type to search.

Reference previewOpen reference