[][src]Enum gstreamer::ClockReturn

#[must_use]
#[non_exhaustive]pub enum ClockReturn {
    Ok,
    Early,
    Unscheduled,
    Busy,
    Badtime,
    Error,
    Unsupported,
    Done,
    // some variants omitted
}

The return value of a clock operation.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ok

The operation succeeded.

Early

The operation was scheduled too late.

Unscheduled

The clockID was unscheduled

Busy

The ClockID is busy

Badtime

A bad time was provided to a function.

Error

An error occurred

Unsupported

Operation is not supported

Done

The ClockID is done waiting

Implementations

impl ClockReturn[src]

pub fn into_result(self) -> Result<ClockSuccess, ClockError>[src]

pub fn from_error(v: ClockError) -> Self[src]

pub fn from_ok(v: ClockSuccess) -> Self[src]

Trait Implementations

impl Clone for ClockReturn[src]

impl Copy for ClockReturn[src]

impl Debug for ClockReturn[src]

impl Eq for ClockReturn[src]

impl From<ClockError> for ClockReturn[src]

impl From<ClockSuccess> for ClockReturn[src]

impl From<Result<ClockSuccess, ClockError>> for ClockReturn[src]

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

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

impl Hash for ClockReturn[src]

impl Ord for ClockReturn[src]

impl PartialEq<ClockReturn> for ClockReturn[src]

impl PartialOrd<ClockReturn> for ClockReturn[src]

impl SetValue for ClockReturn[src]

impl StaticType for ClockReturn[src]

impl StructuralEq for ClockReturn[src]

impl StructuralPartialEq for ClockReturn[src]

Auto Trait Implementations

impl RefUnwindSafe for ClockReturn

impl Send for ClockReturn

impl Sync for ClockReturn

impl Unpin for ClockReturn

impl UnwindSafe for ClockReturn

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.