pub struct QueryState<Q> {
pub query: Arc<Q>,
}Expand description
State for a query-only service.
Fields§
§query: Arc<Q>Backend used for point and range reads.
Implementations§
Trait Implementations§
Source§impl<Q> Clone for QueryState<Q>
impl<Q> Clone for QueryState<Q>
Auto Trait Implementations§
impl<Q> Freeze for QueryState<Q>
impl<Q> RefUnwindSafe for QueryState<Q>where
Q: RefUnwindSafe,
impl<Q> Send for QueryState<Q>
impl<Q> Sync for QueryState<Q>
impl<Q> Unpin for QueryState<Q>
impl<Q> UnsafeUnpin for QueryState<Q>
impl<Q> UnwindSafe for QueryState<Q>where
Q: RefUnwindSafe,
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