pub enum AsyncPoll {
Pending,
Ready(Ref),
}Expand description
Outcome of polling an AsyncTask: not yet complete, or a ready result.
Variants§
Pending
The task has not yet reached its ready point and must be polled again.
Ready(Ref)
The task completed, carrying its result Ref.
Trait Implementations§
impl Eq for AsyncPoll
impl StructuralPartialEq for AsyncPoll
Auto Trait Implementations§
impl Freeze for AsyncPoll
impl RefUnwindSafe for AsyncPoll
impl Send for AsyncPoll
impl Sync for AsyncPoll
impl Unpin for AsyncPoll
impl UnsafeUnpin for AsyncPoll
impl UnwindSafe for AsyncPoll
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