pub struct QueryLock<T, M = ()> {
pub state: Mutex<QueryState<T, M>>,
}Expand description
Per-query lock protecting the query state.
Fields§
§state: Mutex<QueryState<T, M>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, M = ()> !Freeze for QueryLock<T, M>
impl<T, M> RefUnwindSafe for QueryLock<T, M>
impl<T, M> Send for QueryLock<T, M>
impl<T, M> Sync for QueryLock<T, M>
impl<T, M> Unpin for QueryLock<T, M>
impl<T, M> UnwindSafe for QueryLock<T, M>
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