Enum gstreamer::FlowReturn
source · [−]#[non_exhaustive]
pub enum FlowReturn {
Show 13 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
CustomSuccess2
Pre-defined custom success code.
CustomSuccess1
Pre-defined custom success code (define your custom success code to this to avoid compiler warnings).
CustomSuccess
Elements can use values starting from this (and higher) to define custom success codes.
Ok
Data passing was ok.
NotLinked
Pad is not linked.
Flushing
Pad is flushing.
Eos
Pad is EOS.
NotNegotiated
Pad is not negotiated.
Error
Some (fatal) error occurred. Element generating this error should post an error message using GST_ELEMENT_ERROR() with more details.
NotSupported
This operation is not supported.
CustomError
Elements can use values starting from this (and lower) to define custom error codes.
CustomError1
Pre-defined custom error code (define your custom error code to this to avoid compiler warnings).
CustomError2
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
Ensures that the type has been registered with the type system.
Returns a SendValue
clone of self
.