Enum gstreamer::StreamError [−][src]
#[non_exhaustive] pub enum StreamError {}Show variants
Failed, TooLazy, NotImplemented, TypeNotFound, WrongType, CodecNotFound, Decode, Encode, Demux, Mux, Format, Decrypt, DecryptNokey, NumErrors, // some variants omitted
Expand description
Stream errors are for anything related to the stream being processed: format errors, media type errors, … They’re typically used by decoders, demuxers, converters, …
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
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.
use this when you do not want to implement this functionality yet.
used when the element doesn’t know the stream’s type.
used when the element doesn’t handle this type of stream.
used when there’s no codec to handle the stream’s type.
used when decoding fails.
used when encoding fails.
used when demuxing fails.
used when muxing fails.
used when the stream is of the wrong format (for example, wrong caps).
used when the stream is encrypted and can’t be decrypted because this is not supported by the element.
used when the stream is encrypted and can’t be decrypted because no suitable key is available.
the number of stream 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 StreamError
impl Send for StreamError
impl Sync for StreamError
impl Unpin for StreamError
impl UnwindSafe for StreamError
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.