Struct gstreamer::TaskPoolTaskHandle
source · pub struct TaskPoolTaskHandle { /* private fields */ }
Expand description
An opaque handle for a task associated with a particular task pool.
Keeps a reference to the pool alive.
If the v1_20
feature is enabled, requests the task pool to dispose of the handle when it is
dropped. Otherwise, needs to be join
ed to avoid a leak.
Trait Implementations§
source§impl Debug for TaskPoolTaskHandle
impl Debug for TaskPoolTaskHandle
source§impl Drop for TaskPoolTaskHandle
impl Drop for TaskPoolTaskHandle
source§impl Hash for TaskPoolTaskHandle
impl Hash for TaskPoolTaskHandle
source§impl Ord for TaskPoolTaskHandle
impl Ord for TaskPoolTaskHandle
source§fn cmp(&self, other: &TaskPoolTaskHandle) -> Ordering
fn cmp(&self, other: &TaskPoolTaskHandle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TaskPoolTaskHandle> for TaskPoolTaskHandle
impl PartialEq<TaskPoolTaskHandle> for TaskPoolTaskHandle
source§fn eq(&self, other: &TaskPoolTaskHandle) -> bool
fn eq(&self, other: &TaskPoolTaskHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TaskPoolTaskHandle> for TaskPoolTaskHandle
impl PartialOrd<TaskPoolTaskHandle> for TaskPoolTaskHandle
source§fn partial_cmp(&self, other: &TaskPoolTaskHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &TaskPoolTaskHandle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more