[][src]Enum gstreamer::LibraryError

#[non_exhaustive]pub enum LibraryError {
    // 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.

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


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


used when the library could not be opened.


used when the library could not be closed.


used when the library doesn't accept settings.


used when the library generated an encoding error.


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.