pub enum QueryState<T>where
T: Query + 'static,{
Completed {
result: QueryResult<T>,
},
Refreshing {
last_result: QueryResult<T>,
},
}Available on crate feature
query only.Expand description
Query State
Variants§
Completed
The query has completed.
Fields
§
result: QueryResult<T>Result of the completed query.
Refreshing
A previous query has completed and a new query is currently loading.
Fields
§
last_result: QueryResult<T>Result of last completed query.
Trait Implementations§
Source§impl<T> Clone for QueryState<T>where
T: Query + 'static,
impl<T> Clone for QueryState<T>where
T: Query + 'static,
Source§impl<T> Debug for QueryState<T>
impl<T> Debug for QueryState<T>
Source§impl<T> PartialEq<&QueryState<T>> for QueryState<T>where
T: Query + 'static,
impl<T> PartialEq<&QueryState<T>> for QueryState<T>where
T: Query + 'static,
Source§impl<T> PartialEq<QueryState<T>> for &QueryState<T>where
T: Query + 'static,
impl<T> PartialEq<QueryState<T>> for &QueryState<T>where
T: Query + 'static,
Source§impl<T> PartialEq for QueryState<T>
impl<T> PartialEq for QueryState<T>
impl<T> StructuralPartialEq for QueryState<T>where
T: Query + 'static,
Auto Trait Implementations§
impl<T> Freeze for QueryState<T>
impl<T> RefUnwindSafe for QueryState<T>
impl<T> !Send for QueryState<T>
impl<T> !Sync for QueryState<T>
impl<T> Unpin for QueryState<T>
impl<T> UnwindSafe for QueryState<T>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.