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.

enum libtmux-rs latest

ObjectKind

The kind of tmux object a failure refers to.

Source and package
Qualified name
libtmux::error::ObjectKind
Module
error
Package
libtmux
Source
crates/libtmux/src/error.rs
enum error.ObjectKind

Examples#

use libtmux::ObjectKind;
// Carried by `Error::ObjectGone` so a caller can say what disappeared
// without parsing the message.
assert_eq!(ObjectKind::Pane.to_string(), "pane");

Variants4#

ObjectKind variants
CasePayloadDescription
Client No payload A client attached to the server.
Pane No payload A tmux pane.
Session No payload A tmux session.
Window No payload A tmux window.
Esc

Type to search.

Reference previewOpen reference