On this page
query.private.Predicate.validate_bool
- Module
- query.private
- Declared in
- Predicate
- Package
- libtmux
- Source
- crates/libtmux/src/query/private.rs
- validate_bool ( self ) Result<(), FilterExpressionError>
-
Validate that this predicate is a well-formed boolean predicate.
Errors
Returns
FilterExpressionErrorKind::UnknownOperatorfor another scalar family andFilterExpressionErrorKind::InvalidStructurefor an invalid equality shape.The
crate::query::Filterableexample executes this method in a hand-written generated-code expansion.
0 declared, 0 inherited