Struct uniffi::ForeignFuture
source · #[repr(C)]pub struct ForeignFuture {
pub handle: u64,
pub free: extern "C" fn(_: u64),
}
Expand description
Reexport items from other uniffi creates Perform a call to a foreign async method C struct that represents the foreign future.
This is what’s returned by the async scaffolding functions.
Fields§
§handle: u64
§free: extern "C" fn(_: u64)
Trait Implementations§
source§impl Drop for ForeignFuture
impl Drop for ForeignFuture
source§impl FfiDefault for ForeignFuture
impl FfiDefault for ForeignFuture
fn ffi_default() -> ForeignFuture
impl Send for ForeignFuture
Auto Trait Implementations§
impl Freeze for ForeignFuture
impl RefUnwindSafe for ForeignFuture
impl Sync for ForeignFuture
impl Unpin for ForeignFuture
impl UnwindSafe for ForeignFuture
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>