Skip to main content

ListProfile

Trait ListProfile 

Source
pub trait ListProfile {
    // Required methods
    fn filterset_ecx(&self) -> EvalContext<'_>;
    fn list_settings_for(&self, query: &BinaryQuery<'_>) -> ListSettings<'_>;
    fn precompute_group_memberships<'a>(
        &self,
        _tests: impl Iterator<Item = TestQuery<'a>>,
    ) -> PrecomputedGroupMembership;
}
Expand description

Profile implementation for test lists.

Required Methods§

Source

fn filterset_ecx(&self) -> EvalContext<'_>

Returns the evaluation context.

Source

fn list_settings_for(&self, query: &BinaryQuery<'_>) -> ListSettings<'_>

Returns list-time settings for a test binary.

Source

fn precompute_group_memberships<'a>( &self, _tests: impl Iterator<Item = TestQuery<'a>>, ) -> PrecomputedGroupMembership

Precomputes group memberships for the given tests.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§