pub enum QueryState {
NotComputed,
InProgress,
Memoized(Revision),
Stale,
}Expand description
The state of a query computation.
Variants§
NotComputed
Query has not been computed yet.
InProgress
Query is currently being computed (cycle detection).
Memoized(Revision)
Query has been computed and memoized.
Stale
Query result is stale and needs recomputation.
Trait Implementations§
Source§impl Clone for QueryState
impl Clone for QueryState
Source§fn clone(&self) -> QueryState
fn clone(&self) -> QueryState
Returns a duplicate 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 QueryState
impl Debug for QueryState
Source§impl PartialEq for QueryState
impl PartialEq for QueryState
impl Copy for QueryState
impl Eq for QueryState
impl StructuralPartialEq for QueryState
Auto Trait Implementations§
impl Freeze for QueryState
impl RefUnwindSafe for QueryState
impl Send for QueryState
impl Sync for QueryState
impl Unpin for QueryState
impl UnwindSafe for QueryState
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