pub enum PrefetchDemandResolution<E> {
Ready,
Failed(E),
Unscheduled,
}Expand description
Terminal result consumed by a demand acquisition.
Variants§
Ready
Background execution completed and remained available.
Failed(E)
Backend execution failed with its structured backend error.
Unscheduled
Demand must perform or acquire the work directly.
Trait Implementations§
Source§impl<E: Clone> Clone for PrefetchDemandResolution<E>
impl<E: Clone> Clone for PrefetchDemandResolution<E>
Source§fn clone(&self) -> PrefetchDemandResolution<E>
fn clone(&self) -> PrefetchDemandResolution<E>
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<E: Debug> Debug for PrefetchDemandResolution<E>
impl<E: Debug> Debug for PrefetchDemandResolution<E>
impl<E: Eq> Eq for PrefetchDemandResolution<E>
Source§impl<E: PartialEq> PartialEq for PrefetchDemandResolution<E>
impl<E: PartialEq> PartialEq for PrefetchDemandResolution<E>
impl<E: PartialEq> StructuralPartialEq for PrefetchDemandResolution<E>
Auto Trait Implementations§
impl<E> Freeze for PrefetchDemandResolution<E>where
E: Freeze,
impl<E> RefUnwindSafe for PrefetchDemandResolution<E>where
E: RefUnwindSafe,
impl<E> Send for PrefetchDemandResolution<E>where
E: Send,
impl<E> Sync for PrefetchDemandResolution<E>where
E: Sync,
impl<E> Unpin for PrefetchDemandResolution<E>where
E: Unpin,
impl<E> UnsafeUnpin for PrefetchDemandResolution<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for PrefetchDemandResolution<E>where
E: UnwindSafe,
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