Enum uniffi::RustFuturePoll
#[repr(i8)]pub enum RustFuturePoll {
Ready,
MaybeReady,
}
Expand description
Result code for rust_future_poll. This is passed to the continuation function.
Variants§
Ready
The future is ready and is waiting for rust_future_complete to be called
MaybeReady
The future might be ready and rust_future_poll should be called again
Trait Implementations§
§impl Debug for RustFuturePoll
impl Debug for RustFuturePoll
§impl PartialEq<RustFuturePoll> for RustFuturePoll
impl PartialEq<RustFuturePoll> for RustFuturePoll
§fn eq(&self, other: &RustFuturePoll) -> bool
fn eq(&self, other: &RustFuturePoll) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RustFuturePoll
impl StructuralEq for RustFuturePoll
impl StructuralPartialEq for RustFuturePoll
Auto Trait Implementations§
impl RefUnwindSafe for RustFuturePoll
impl Send for RustFuturePoll
impl Sync for RustFuturePoll
impl Unpin for RustFuturePoll
impl UnwindSafe for RustFuturePoll
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
§impl<T, UT> HandleAlloc<UT> for Twhere
T: Send + Sync,
impl<T, UT> HandleAlloc<UT> for Twhere T: Send + Sync,
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§fn clone_handle(handle: Handle) -> Handle
fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>