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]
impl StateChangeReturn
pub fn into_result(self) -> Result<StateChangeSuccess, StateChangeError>
[src]
pub fn into_result(self) -> Result<StateChangeSuccess, StateChangeError>
pub fn from_error(_: StateChangeError) -> Self
[src]
pub fn from_error(_: StateChangeError) -> Self
pub fn from_ok(v: StateChangeSuccess) -> Self
[src]
pub fn from_ok(v: StateChangeSuccess) -> Self
Trait Implementations
impl Clone for StateChangeReturn
[src]
impl Clone for StateChangeReturn
fn clone(&self) -> StateChangeReturn
[src]
fn clone(&self) -> StateChangeReturn
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for StateChangeReturn
[src]
impl Copy for StateChangeReturn
impl Debug for StateChangeReturn
[src]
impl Debug for StateChangeReturn
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for StateChangeReturn
[src]
impl Eq for StateChangeReturn
impl PartialEq for StateChangeReturn
[src]
impl PartialEq for StateChangeReturn
fn eq(&self, other: &StateChangeReturn) -> bool
[src]
fn eq(&self, other: &StateChangeReturn) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StateChangeReturn) -> bool
[src]
fn ne(&self, other: &StateChangeReturn) -> bool
This method tests for !=
.
impl Hash for StateChangeReturn
[src]
impl Hash for StateChangeReturn
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for StateChangeReturn
[src]
impl StaticType for StateChangeReturn
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValueOptional<'a> for StateChangeReturn
[src]
impl<'a> FromValueOptional<'a> for StateChangeReturn
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
impl<'a> FromValue<'a> for StateChangeReturn
[src]
impl<'a> FromValue<'a> for StateChangeReturn
unsafe fn from_value(value: &Value) -> Self
[src]
unsafe fn from_value(value: &Value) -> Self
impl SetValue for StateChangeReturn
[src]
impl SetValue for StateChangeReturn
Auto Trait Implementations
impl Send for StateChangeReturn
impl Send for StateChangeReturn
impl Sync for StateChangeReturn
impl Sync for StateChangeReturn