Predicate.validate_enum
Validate this predicate against a custom enum's stable variants.
Source and package
- Qualified name
-
libtmux::query:: private:: Predicate:: validate _enum - Module
- query.private
- Declared in
Predicate- Package
- libtmux
- Source
- crates/libtmux/src/query/private.rs
-
- Errors
- Returns
FilterExpressionErrorKind::UnknownOperatorfor another scalar family,FilterExpressionErrorKind::InvalidStructurefor an invalid equality shape, orFilterExpressionErrorKind::InvalidLiteralfor an unknown variant.doc comment · private.rs:532
Description
Errors
Returns
FilterExpressionErrorKind::UnknownOperatorfor another scalar family,FilterExpressionErrorKind::InvalidStructurefor an invalid equality shape, orFilterExpressionErrorKind::InvalidLiteralfor an unknown variant.The
crate::query::Filterableexample executes this method in a hand-written generated-code expansion.
Recorded calls
source callsThe Rust reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls query.private.Predicate.validate_enum.