Enum gstreamer::FlowReturn
[−]
[src]
#[must_use]pub enum FlowReturn { CustomSuccess2, CustomSuccess1, CustomSuccess, Ok, NotLinked, Flushing, Eos, NotNegotiated, Error, NotSupported, CustomError, CustomError1, CustomError2, // some variants omitted }
Variants
CustomSuccess2
CustomSuccess1
CustomSuccess
Ok
NotLinked
Flushing
Eos
NotNegotiated
Error
NotSupported
CustomError
CustomError1
CustomError2
Methods
impl FlowReturn
[src]
pub fn into_result(self) -> Result<FlowSuccess, FlowError>
[src]
pub fn from_error(v: FlowError) -> Self
[src]
pub fn from_ok(v: FlowSuccess) -> Self
[src]
Trait Implementations
impl Clone for FlowReturn
[src]
fn clone(&self) -> FlowReturn
[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 FlowReturn
[src]
impl Debug for FlowReturn
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for FlowReturn
[src]
impl PartialEq for FlowReturn
[src]
fn eq(&self, __arg_0: &FlowReturn) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FlowReturn) -> bool
[src]
This method tests for !=
.
impl Hash for FlowReturn
[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 FlowReturn
[src]
fn static_type() -> Type
[src]
Returns the type identifier of Self
.