Trait gstreamer::prelude::TaskExt

source ·
pub trait TaskExt:
    IsA<Task>
    + Sealed
    + 'static {
    // Provided methods
    fn pool(&self) -> TaskPool { ... }
    fn state(&self) -> TaskState { ... }
    fn join(&self) -> Result<(), BoolError> { ... }
    fn pause(&self) -> Result<(), BoolError> { ... }
    fn resume(&self) -> Result<(), BoolError> { ... }
    fn set_pool(&self, pool: &impl IsA<TaskPool>) { ... }
    fn set_state(&self, state: TaskState) -> Result<(), BoolError> { ... }
    fn start(&self) -> Result<(), BoolError> { ... }
    fn stop(&self) -> Result<(), BoolError> { ... }
}

Provided Methods§

source

fn pool(&self) -> TaskPool

source

fn state(&self) -> TaskState

source

fn join(&self) -> Result<(), BoolError>

source

fn pause(&self) -> Result<(), BoolError>

source

fn resume(&self) -> Result<(), BoolError>

source

fn set_pool(&self, pool: &impl IsA<TaskPool>)

source

fn set_state(&self, state: TaskState) -> Result<(), BoolError>

source

fn start(&self) -> Result<(), BoolError>

source

fn stop(&self) -> Result<(), BoolError>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Task>> TaskExt for O