pub trait AggregatorPadImpl: PadImpl + ObjectSubclass<Type: IsA<AggregatorPad>> {
// Provided methods
fn flush(&self, aggregator: &Aggregator) -> Result<FlowSuccess, FlowError> { ... }
fn skip_buffer(&self, aggregator: &Aggregator, buffer: &Buffer) -> bool { ... }
}
Provided Methods§
Sourcefn flush(&self, aggregator: &Aggregator) -> Result<FlowSuccess, FlowError>
fn flush(&self, aggregator: &Aggregator) -> Result<FlowSuccess, FlowError>
Optional Called when the pad has received a flush stop, this is the place to flush any information specific to the pad, it allows for individual pads to be flushed while others might not be.
Sourcefn skip_buffer(&self, aggregator: &Aggregator, buffer: &Buffer) -> bool
fn skip_buffer(&self, aggregator: &Aggregator, buffer: &Buffer) -> bool
Optional
Called before input buffers are queued in the pad, return true
if the buffer should be skipped.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.