pub enum PollOutcome {
Ready,
Failed {
reason: String,
},
TimedOut {
waited_secs: u64,
},
}Expand description
What the provision-time poll concluded — recorded on the handle so
readiness surfaces a provider-owned block instead of re-polling.
Variants§
Trait Implementations§
Source§impl Clone for PollOutcome
impl Clone for PollOutcome
Source§fn clone(&self) -> PollOutcome
fn clone(&self) -> PollOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PollOutcome
impl Debug for PollOutcome
impl Eq for PollOutcome
Source§impl PartialEq for PollOutcome
impl PartialEq for PollOutcome
impl StructuralPartialEq for PollOutcome
Auto Trait Implementations§
impl Freeze for PollOutcome
impl RefUnwindSafe for PollOutcome
impl Send for PollOutcome
impl Sync for PollOutcome
impl Unpin for PollOutcome
impl UnsafeUnpin for PollOutcome
impl UnwindSafe for PollOutcome
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