Enum gstreamer::LibraryError
source · [−]#[non_exhaustive]
pub enum LibraryError {
Failed,
TooLazy,
Init,
Shutdown,
Settings,
Encode,
NumErrors,
// some variants omitted
}
Expand description
Library errors are for errors from the library being used by elements (initializing, finalizing, settings, …)
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
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
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
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
Mutably borrows from an owned value. Read more
Ensures that the type has been registered with the type system.
Returns a SendValue
clone of self
.