pub struct ShardCacheRoute {
pub key_hash: u64,
pub key_tag: u64,
pub shard_id: usize,
}Expand description
Precomputed routed SCNP metadata for a key.
Fields§
§key_hash: u64Primary key hash.
key_tag: u64Secondary key tag used by direct full-key lookups.
shard_id: usizeOwning shard id.
Trait Implementations§
Source§impl Clone for ShardCacheRoute
impl Clone for ShardCacheRoute
Source§fn clone(&self) -> ShardCacheRoute
fn clone(&self) -> ShardCacheRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShardCacheRoute
Source§impl Debug for ShardCacheRoute
impl Debug for ShardCacheRoute
impl Eq for ShardCacheRoute
Source§impl PartialEq for ShardCacheRoute
impl PartialEq for ShardCacheRoute
Source§fn eq(&self, other: &ShardCacheRoute) -> bool
fn eq(&self, other: &ShardCacheRoute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShardCacheRoute
Auto Trait Implementations§
impl Freeze for ShardCacheRoute
impl RefUnwindSafe for ShardCacheRoute
impl Send for ShardCacheRoute
impl Sync for ShardCacheRoute
impl Unpin for ShardCacheRoute
impl UnsafeUnpin for ShardCacheRoute
impl UnwindSafe for ShardCacheRoute
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