pub trait CapabilityTrait<T: Timestamp> {
// Required methods
fn time(&self) -> &T;
fn valid_for_output(
&self,
query_buffer: &Rc<RefCell<ChangeBatch<T>>>,
port: usize,
) -> bool;
}Expand description
An internal trait expressing the capability to send messages with a given timestamp.
Required Methods§
Sourcefn valid_for_output(
&self,
query_buffer: &Rc<RefCell<ChangeBatch<T>>>,
port: usize,
) -> bool
fn valid_for_output( &self, query_buffer: &Rc<RefCell<ChangeBatch<T>>>, port: usize, ) -> bool
Validates that the capability is valid for a specific internal buffer and output port.