pub trait Apply<P: Operation<Scope = S>, S: OperationScope = <P as Operation>::Scope>: Operand {
type Output: Operand;
// Required methods
fn apply<'a>(
graphrecord: &'a GraphRecord,
values: Self::ReturnValue<'a>,
prepared: P::Prepared<'a>,
) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
where Self: 'a;
fn estimate(operation: &P, input: Estimate, stats: &Stats<'_>) -> Estimate;
}Required Associated Types§
Required Methods§
fn apply<'a>(
graphrecord: &'a GraphRecord,
values: Self::ReturnValue<'a>,
prepared: P::Prepared<'a>,
) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>where
Self: 'a,
fn estimate(operation: &P, input: Estimate, stats: &Stats<'_>) -> Estimate
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".