proof_of_sql/sql/postprocessing/postprocessing_step.rs
1use super::PostprocessingResult;
2use crate::base::{database::OwnedTable, scalar::Scalar};
3use core::fmt::Debug;
4
5/// A trait for postprocessing steps that can be applied to an `OwnedTable`.
6pub trait PostprocessingStep<S: Scalar>: Debug + Send + Sync {
7 /// Apply the postprocessing step to the `OwnedTable` and return the result.
8 fn apply(&self, owned_table: OwnedTable<S>) -> PostprocessingResult<OwnedTable<S>>;
9}