gstreamer::prelude

Trait TaskPoolExt

Source
pub trait TaskPoolExt: IsA<TaskPool> + 'static {
    // Provided methods
    fn cleanup(&self) { ... }
    fn prepare(&self) -> Result<(), Error> { ... }
}
Expand description

Trait containing all TaskPool methods.

§Implementors

TaskPool

Provided Methods§

Source

fn cleanup(&self)

Wait for all tasks to be stopped. This is mainly used internally to ensure proper cleanup of internal data structures in test suites.

MT safe.

Source

fn prepare(&self) -> Result<(), Error>

Prepare the taskpool for accepting TaskPoolExtManual::push() operations.

MT safe.

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.

Implementors§