#[repr(i8)]pub enum RustFuturePoll {
Ready = 0,
MaybeReady = 1,
}
Expand description
Reexport items from other uniffi creates Result code for rust_future_poll. This is passed to the continuation function.
Variants§
Ready = 0
The future is ready and is waiting for rust_future_complete to be called
MaybeReady = 1
The future might be ready and rust_future_poll should be called again
Trait Implementations§
Source§impl Debug for RustFuturePoll
impl Debug for RustFuturePoll
Source§impl PartialEq for RustFuturePoll
impl PartialEq for RustFuturePoll
impl Eq for RustFuturePoll
impl StructuralPartialEq for RustFuturePoll
Auto Trait Implementations§
impl Freeze for RustFuturePoll
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