Enum gstreamer::StateChangeReturn
[−]
[src]
#[must_use]pub enum StateChangeReturn { Failure, Success, Async, NoPreroll, // some variants omitted }
Variants
Failure
Success
Async
NoPreroll
Methods
impl StateChangeReturn
[src]
pub fn into_result(self) -> Result<StateChangeSuccess, StateChangeError>
[src]
pub fn from_error(_: StateChangeError) -> Self
[src]
pub fn from_ok(v: StateChangeSuccess) -> Self
[src]
Trait Implementations
impl Clone for StateChangeReturn
[src]
fn clone(&self) -> StateChangeReturn
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for StateChangeReturn
[src]
impl Debug for StateChangeReturn
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for StateChangeReturn
[src]
impl PartialEq for StateChangeReturn
[src]
fn eq(&self, __arg_0: &StateChangeReturn) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StateChangeReturn) -> bool
[src]
This method tests for !=
.
impl Hash for StateChangeReturn
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for StateChangeReturn
[src]
fn static_type() -> Type
[src]
Returns the type identifier of Self
.