Struct gstreamer::Promise [−]
pub struct Promise(_);
Methods
impl Promise
[src]
impl Promise
pub fn new() -> Promise
[src]
pub fn new() -> Promise
pub 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) -> PromiseResult
Trait Implementations
impl Clone for Promise
impl Clone for Promise
fn clone(&self) -> Promise
fn clone(&self) -> Promise
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 StaticType for Promise
impl StaticType for Promise
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl Default for Promise
[src]
impl Default for Promise
impl Send for Promise
[src]
impl Send for Promise
impl Sync for Promise
[src]
impl Sync for Promise