Enum safer_ffi::dyn_traits::futures::PollFuture
source · #[repr(i8)]pub enum PollFuture {
Completed = 0,
Pending = -1,
}
Available on crate feature
dyn-traits
only.Expand description
An FFI-safe Poll<()>
.
Variants§
Trait Implementations§
source§impl Clone for PollFuture
impl Clone for PollFuture
source§fn clone(&self) -> PollFuture
fn clone(&self) -> PollFuture
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PollFuture
impl Debug for PollFuture
source§impl PartialEq for PollFuture
impl PartialEq for PollFuture
source§fn eq(&self, other: &PollFuture) -> bool
fn eq(&self, other: &PollFuture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ReprC for PollFuture
impl ReprC for PollFuture
impl Copy for PollFuture
impl Eq for PollFuture
impl StructuralPartialEq for PollFuture
Auto Trait Implementations§
impl Freeze for PollFuture
impl RefUnwindSafe for PollFuture
impl Send for PollFuture
impl Sync for PollFuture
impl Unpin for PollFuture
impl UnwindSafe for PollFuture
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> FitForCBox for T
impl<T> FitForCBox for T
§type CBoxWrapped = Box_<T>
type CBoxWrapped = Box_<T>
Available on crate feature
alloc
only.