IdParseError
An invalid scope-specific tmux object ID.
Source and package
- Qualified name
-
libtmux::error:: Id Parse Error - Module
- error
- Package
- libtmux
- Source
- crates/libtmux/src/error.rs
-
Description#
The error records the expected sigil but never retains the rejected input.
Examples#
use libtmux::SessionId;// The sigil is the whole difference between the id types, so a mistake// names the one that was expected.let error = "@1".parse::<SessionId>().expect_err("@ denotes a window");assert_eq!(error.expected_sigil(), '$');
Members1#
- expected_sigil method Return the sigil required by the requested ID scope.