Trait opencv::core::AsyncPromiseTrait
source · pub trait AsyncPromiseTrait: AsyncPromiseTraitConst {
// Required method
fn as_raw_mut_AsyncPromise(&mut self) -> *mut c_void;
// Provided methods
fn release(&mut self) { ... }
fn get_array_result(&mut self) -> Result<AsyncArray> { ... }
fn set_value(&mut self, value: &dyn ToInputArray) -> Result<()> { ... }
fn set_exception(&mut self, exception: &Exception) -> Result<()> { ... }
}
Expand description
Mutable methods for core::AsyncPromise
Required Methods§
fn as_raw_mut_AsyncPromise(&mut self) -> *mut c_void
Provided Methods§
fn release(&mut self)
sourcefn get_array_result(&mut self) -> Result<AsyncArray>
fn get_array_result(&mut self) -> Result<AsyncArray>
Returns associated AsyncArray
Note: Can be called once