pub struct ShardTable { /* private fields */ }Expand description
Immutable routing table: shards + index + counter handles.
Placed behind an ArcSwap on ShardManager so the common read
path (ingest, ingest_raw, with_shard, stats) is
lock-free. Rebuilt on scale up/down via RCU-style swap.
Auto Trait Implementations§
impl Freeze for ShardTable
impl !RefUnwindSafe for ShardTable
impl Send for ShardTable
impl Sync for ShardTable
impl Unpin for ShardTable
impl UnsafeUnpin for ShardTable
impl !UnwindSafe for ShardTable
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