[][src]Enum gstreamer::CoreError

#[non_exhaustive]pub enum CoreError {
    Failed,
    TooLazy,
    NotImplemented,
    StateChange,
    Pad,
    Thread,
    Negotiation,
    Event,
    Seek,
    Caps,
    Tag,
    MissingPlugin,
    Clock,
    Disabled,
    NumErrors,
    // some variants omitted
}

Core errors are errors inside the core GStreamer library.

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.

NotImplemented

use this when you do not want to implement this functionality yet.

StateChange

used for state change errors.

Pad

used for pad-related errors.

Thread

used for thread-related errors.

Negotiation

used for negotiation-related errors.

Event

used for event-related errors.

Seek

used for seek-related errors.

Caps

used for caps-related errors.

Tag

used for negotiation-related errors.

MissingPlugin

used if a plugin is missing.

Clock

used for clock related errors.

Disabled

used if functionality has been disabled at compile time.

NumErrors

the number of core error types.

Trait Implementations

impl Clone for CoreError[src]

impl Copy for CoreError[src]

impl Debug for CoreError[src]

impl Eq for CoreError[src]

impl ErrorDomain for CoreError[src]

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

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

impl Hash for CoreError[src]

impl MessageErrorDomain for CoreError[src]

impl Ord for CoreError[src]

impl PartialEq<CoreError> for CoreError[src]

impl PartialOrd<CoreError> for CoreError[src]

impl SetValue for CoreError[src]

impl StaticType for CoreError[src]

impl StructuralEq for CoreError[src]

impl StructuralPartialEq for CoreError[src]

Auto Trait Implementations

impl RefUnwindSafe for CoreError

impl Send for CoreError

impl Sync for CoreError

impl Unpin for CoreError

impl UnwindSafe for CoreError

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.