pub enum ShardStats {
Cumulative {
server_count: u64,
shard_count: Option<u64>,
},
Shard {
server_count: u64,
shard_id: u64,
shard_count: u64,
},
Shards {
shards: Vec<u64>,
},
}Expand description
Used to update one or more sharding stats.
Variants§
Trait Implementations§
Source§impl Debug for ShardStats
impl Debug for ShardStats
Auto Trait Implementations§
impl Freeze for ShardStats
impl RefUnwindSafe for ShardStats
impl Send for ShardStats
impl Sync for ShardStats
impl Unpin for ShardStats
impl UnwindSafe for ShardStats
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