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.

MoreLess about this notice

method libtmux-rs

Predicate.validate_many

Validate this predicate as a to-many relation over U.

Source and package
Qualified name
libtmux::query::private::Predicate::validate_many
Module
query.private
Declared in
Predicate
Package
libtmux
Source
crates/libtmux/src/query/private.rs
pub fn validate_many<U: Filterable>(&self) -> Result< (), FilterExpressionError >
Errors
Returns FilterExpressionErrorKind::UnknownOperator for a scalar predicate, FilterExpressionErrorKind::UnknownQuantifier for is, or the exact source-less nested schema error.doc comment · private.rs:575

Description

Validation walks every nested logical branch and delegates each leaf to U's generated schema implementation.

Errors

Returns FilterExpressionErrorKind::UnknownOperator for a scalar predicate, FilterExpressionErrorKind::UnknownQuantifier for is, or the exact source-less nested schema error.

The crate::query::Filterable relation example executes this method in a hand-written generated-code expansion.

Type parameters

Recorded calls

source calls
No call edges in the Rust model.

The 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_many.

Esc
Search in

Type to search.

Reference previewOpen reference