[][src]Enum gstreamer::QOSType

#[non_exhaustive]pub enum QOSType {
    Overflow,
    Underflow,
    Throttle,
    // some variants omitted
}

The different types of QoS events that can be given to the Event::new_qos method.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Overflow

The QoS event type that is produced when upstream elements are producing data too quickly and the element can't keep up processing the data. Upstream should reduce their production rate. This type is also used when buffers arrive early or in time.

Underflow

The QoS event type that is produced when upstream elements are producing data too slowly and need to speed up their production rate.

Throttle

The QoS event type that is produced when the application enabled throttling to limit the data rate.

Trait Implementations

impl Clone for QOSType[src]

impl Copy for QOSType[src]

impl Debug for QOSType[src]

impl Eq for QOSType[src]

impl<'a> FromValue<'a> for QOSType[src]

impl<'a> FromValueOptional<'a> for QOSType[src]

impl Hash for QOSType[src]

impl Ord for QOSType[src]

impl PartialEq<QOSType> for QOSType[src]

impl PartialOrd<QOSType> for QOSType[src]

impl SetValue for QOSType[src]

impl StaticType for QOSType[src]

impl StructuralEq for QOSType[src]

impl StructuralPartialEq for QOSType[src]

Auto Trait Implementations

impl RefUnwindSafe for QOSType

impl Send for QOSType

impl Sync for QOSType

impl Unpin for QOSType

impl UnwindSafe for QOSType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.