pub struct QueryKey(pub u64);Expand description
查询键。同一 key 的并发请求去重;不同 key 各自独立 generation。
用 u64 而非泛型参数,便于跨模块传递与 DevTools 显示。
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for QueryKey
impl Eq for QueryKey
impl StructuralPartialEq for QueryKey
Auto Trait Implementations§
impl Forget for QueryKey
impl Freeze for QueryKey
impl Move for QueryKey
impl RefUnwindSafe for QueryKey
impl Send for QueryKey
impl Sync for QueryKey
impl Unpin for QueryKey
impl UnsafeUnpin for QueryKey
impl UnwindSafe for QueryKey
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