Enum gstreamer::FlowReturn [−][src]
#[must_use] #[non_exhaustive] pub enum FlowReturn {}Show variants
CustomSuccess2, CustomSuccess1, CustomSuccess, Ok, NotLinked, Flushing, Eos, NotNegotiated, Error, NotSupported, CustomError, CustomError1, CustomError2, // some variants omitted
Expand description
The result of passing data to a pad.
Note that the custom return values should not be exposed outside of the element scope.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Pre-defined custom success code.
Pre-defined custom success code (define your custom success code to this to avoid compiler warnings).
Elements can use values starting from this (and higher) to define custom success codes.
Data passing was ok.
Pad is not linked.
Pad is flushing.
Pad is EOS.
Pad is not negotiated.
Some (fatal) error occurred. Element generating this error should post an error message using GST_ELEMENT_ERROR() with more details.
This operation is not supported.
Elements can use values starting from this (and lower) to define custom error codes.
Pre-defined custom error code (define your custom error code to this to avoid compiler warnings).
Pre-defined custom error code.
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
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 FlowReturn
impl Send for FlowReturn
impl Sync for FlowReturn
impl Unpin for FlowReturn
impl UnwindSafe for FlowReturn
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.