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

A typed option write that tmux's option table refuses, so nothing was sent.

Source and package
Qualified name
libtmux::error::Error::OptionValueRefused
Module
error
Declared in
Error
Package
libtmux
Source
crates/libtmux/src/error.rs
OptionValueRefused { option: &'static str, reason: crate::OptionValueRefusal, }

Description#

Raised by set_typed_option and its siblings before dispatch, never by tmux, and the option is left as it was. crate::OptionValue says which variant each kind of option takes. The value is not kept, as no option value is; reason says what the option takes instead.

Fields2#

OptionValueRefused fields
NameTypeDescription
option &'static str The option, as tmux's table names it.
reason crate::OptionValueRefusal What the option takes that the value is not.
Esc

Type to search.

Reference previewOpen reference