Enum gstreamer::StateChangeReturn [] [src]

#[must_use]
pub enum StateChangeReturn { Failure, Success, Async, NoPreroll, // some variants omitted }

The possible return values from a state change function such as ElementExt::set_state. Only StateChangeReturn::Failure is a real failure.

Variants

Methods

impl StateChangeReturn
[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for StateChangeReturn
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StateChangeReturn
[src]

impl Debug for StateChangeReturn
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for StateChangeReturn
[src]

impl PartialEq for StateChangeReturn
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Hash for StateChangeReturn
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for StateChangeReturn
[src]

[src]

Returns the type identifier of Self.

impl<'a> FromValueOptional<'a> for StateChangeReturn
[src]

[src]

impl<'a> FromValue<'a> for StateChangeReturn
[src]

[src]

impl SetValue for StateChangeReturn
[src]

[src]