Trait gstreamer::prelude::TaskPoolExt

source ·
pub trait TaskPoolExt: IsA<TaskPool> + Sealed + '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.

Object Safety§

This trait is not object safe.

Implementors§