[][src]Enum gstreamer::LibraryError

#[non_exhaustive]pub enum LibraryError {
    Failed,
    TooLazy,
    Init,
    Shutdown,
    Settings,
    Encode,
    NumErrors,
    // some variants omitted
}

Library errors are for errors from the library being used by elements (initializing, finalizing, settings, ...)

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

a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.

TooLazy

do not use this except as a placeholder for deciding where to go while developing code.

Init

used when the library could not be opened.

Shutdown

used when the library could not be closed.

Settings

used when the library doesn't accept settings.

Encode

used when the library generated an encoding error.

NumErrors

the number of library error types.

Trait Implementations

impl Clone for LibraryError[src]

impl Copy for LibraryError[src]

impl Debug for LibraryError[src]

impl Eq for LibraryError[src]

impl ErrorDomain for LibraryError[src]

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

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

impl Hash for LibraryError[src]

impl MessageErrorDomain for LibraryError[src]

impl Ord for LibraryError[src]

impl PartialEq<LibraryError> for LibraryError[src]

impl PartialOrd<LibraryError> for LibraryError[src]

impl SetValue for LibraryError[src]

impl StaticType for LibraryError[src]

impl StructuralEq for LibraryError[src]

impl StructuralPartialEq for LibraryError[src]

Auto Trait Implementations

impl RefUnwindSafe for LibraryError

impl Send for LibraryError

impl Sync for LibraryError

impl Unpin for LibraryError

impl UnwindSafe for LibraryError

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.