Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

query.private.Predicate.validate_integer

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
query.private
Declared in
Predicate
Package
libtmux
Source
crates/libtmux/src/query/private.rs
validate_integer ( self , kind : IntegerKind ) → Result<(), FilterExpressionError>
method [source]
method [source]
validate_integer

Validate this predicate for one fixed-width integer kind.

Errors

Returns FilterExpressionErrorKind::UnknownOperator for a non-integer family, FilterExpressionErrorKind::InvalidStructure for an invalid equality shape, or FilterExpressionErrorKind::InvalidLiteral for signedness or range mismatches.

The crate::query::Filterable example executes this method for both signed and unsigned fields in a hand-written expansion.

0 declared, 0 inherited

Esc

Type to search.