# error.ObjectKind

- **Module:** error
- **Package:** libtmux
- **Language:** Rust
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/error.rs#L1029
- **Page:** https://libtmux.org/en/rs/latest/reference/error-objectkind/

The kind of tmux object a failure refers to.

## Example

```rust
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");
```

## Members

- `Session` (constant): A tmux session.
- `Window` (constant): A tmux window.
- `Pane` (constant): A tmux pane.
- `Client` (constant): A client attached to the server.
