Struct gstreamer::Promise [−]
pub struct Promise(_);
Methods
impl Promise[src]
impl Promisepub fn new() -> Promise[src]
pub fn new() -> Promisepub fn new_with_change_func<F>(func: F) -> Promise where
F: FnOnce(&Promise) + Send + 'static, [src]
pub fn new_with_change_func<F>(func: F) -> Promise where
F: FnOnce(&Promise) + Send + 'static, pub fn expire(&self)[src]
pub fn expire(&self)pub fn get_reply(&self) -> Option<&StructureRef>[src]
pub fn get_reply(&self) -> Option<&StructureRef>pub fn interrupt(&self)[src]
pub fn interrupt(&self)pub fn reply(&self, s: Structure)[src]
pub fn reply(&self, s: Structure)pub fn wait(&self) -> PromiseResult[src]
pub fn wait(&self) -> PromiseResultTrait Implementations
impl Clone for Promise
impl Clone for Promisefn clone(&self) -> Promise
fn clone(&self) -> PromiseReturns 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 StaticType for Promise
impl StaticType for Promisefn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl Default for Promise[src]
impl Default for Promiseimpl Send for Promise[src]
impl Send for Promiseimpl Sync for Promise[src]
impl Sync for Promise