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

FilterExpressionErrorKind

The category of an invalid portable filter expression.

Source and package
Qualified name
libtmux::query::FilterExpressionErrorKind
Module
query
Package
libtmux
Source
crates/libtmux/src/query.rs
enum query.FilterExpressionErrorKind

Description#

Callers must retain a wildcard arm because future schema versions may add more source-less validation categories.

Examples#

use libtmux::query::FilterExpressionErrorKind;
let kind = FilterExpressionErrorKind::InvalidRegex;
assert_eq!(kind, FilterExpressionErrorKind::InvalidRegex);

Variants9#

FilterExpressionErrorKind variants
CasePayloadDescription
ComplexityLimit No payload The serialized expression exceeds a fixed decoder budget.
InvalidLiteral No payload A literal cannot be represented by the field type.
InvalidRegex No payload A regular expression did not compile under the version 1 dialect.
InvalidStructure No payload The expression tree has an invalid shape.
InvalidTarget No payload The expression target does not match the requested candidate type.
UnknownField No payload The candidate schema has no field with the requested stable name.
UnknownOperator No payload The field type does not support the requested operator.
UnknownQuantifier No payload A relation does not support the requested quantifier.
UnsupportedVersion No payload The serialized expression schema version is unsupported.
Esc

Type to search.

Reference previewOpen reference