Enum gstreamer::StateChangeReturn [−][src]
#[must_use] #[non_exhaustive] pub enum StateChangeReturn { Failure, Success, Async, NoPreroll, // some variants omitted }
Expand description
The possible return values from a state change function such as
ElementExt::set_state()
. Only Failure
is a real failure.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
the state change failed
the state change succeeded
the state change will happen asynchronously
the state change succeeded but the element
cannot produce data in State::Paused
.
This typically happens with live sources.
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 StateChangeReturn
impl Send for StateChangeReturn
impl Sync for StateChangeReturn
impl Unpin for StateChangeReturn
impl UnwindSafe for StateChangeReturn
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.