Struct gstreamer::promise::Promise[][src]

pub struct Promise(_);

Implementations

impl Promise[src]

pub fn new() -> Promise[src]

pub fn with_change_func<F>(func: F) -> Promise where
    F: FnOnce(Result<Option<&StructureRef>, PromiseError>) + Send + 'static, 
[src]

pub fn new_future<'a>() -> (Self, PromiseFuture<'a>)[src]

pub fn expire(&self)[src]

pub fn get_reply(&self) -> Option<&StructureRef>[src]

pub fn interrupt(&self)[src]

pub fn reply(&self, s: Option<Structure>)[src]

pub fn wait(&self) -> PromiseResult[src]

Trait Implementations

impl Clone for Promise[src]

impl Debug for Promise[src]

impl Default for Promise[src]

impl Eq for Promise[src]

impl Hash for Promise[src]

impl Ord for Promise[src]

impl PartialEq<Promise> for Promise[src]

impl PartialOrd<Promise> for Promise[src]

impl Send for Promise[src]

impl StaticType for Promise[src]

impl StructuralEq for Promise[src]

impl StructuralPartialEq for Promise[src]

impl Sync for Promise[src]

Auto Trait Implementations

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.