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

tmux listing output could not be decoded into typed snapshots.

Source and package
Qualified name
libtmux::error::Error::DecodeListing
Module
error
Declared in
Error
Package
libtmux
Source
crates/libtmux/src/error.rs
DecodeListing { list_command: &'static str, detail: ListingDecodeError, }

Description#

This reports a disagreement between the crate and the tmux that answered, not an ordinary tmux failure. A command that merely reports a nonzero status stays raw data at the crate::Server::cmd() boundary.

Fields2#

DecodeListing fields
NameTypeDescription
list_command &'static str The tmux list command whose output failed to decode.
detail ListingDecodeError Payload-free decoding metadata.
Esc

Type to search.

Reference previewOpen reference