[][src]Enum gstreamer_gl::GLContextError

#[non_exhaustive]pub enum GLContextError {
    Failed,
    WrongConfig,
    WrongApi,
    OldLibs,
    CreateContext,
    ResourceUnavailable,
    // some variants omitted
}

OpenGL context errors.

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.
Failed

Failed for an unspecified reason

WrongConfig

The configuration requested is not correct

WrongApi

The OpenGL API requested is not correct

OldLibs

The OpenGL libraries are too old

CreateContext

glXCreateContext (or similar) failed

ResourceUnavailable

A resource is not available

Trait Implementations

impl Clone for GLContextError[src]

impl Copy for GLContextError[src]

impl Debug for GLContextError[src]

impl Eq for GLContextError[src]

impl ErrorDomain for GLContextError[src]

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

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

impl Hash for GLContextError[src]

impl Ord for GLContextError[src]

impl PartialEq<GLContextError> for GLContextError[src]

impl PartialOrd<GLContextError> for GLContextError[src]

impl SetValue for GLContextError[src]

impl StaticType for GLContextError[src]

impl StructuralEq for GLContextError[src]

impl StructuralPartialEq for GLContextError[src]

Auto Trait Implementations

impl RefUnwindSafe for GLContextError

impl Send for GLContextError

impl Sync for GLContextError

impl Unpin for GLContextError

impl UnwindSafe for GLContextError

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.