pub struct HostStats {
pub requests_pending_leader_allocation_count: usize,
pub requests_pending_shard_allocation_count: usize,
pub hosted_shard_count: usize,
pub remote_shard_count: usize,
pub hosted_shards: HashMap<ShardId, ShardStats>,
pub remote_shards: Vec<RemoteShard>,
}Fields§
§requests_pending_leader_allocation_count: usize§requests_pending_shard_allocation_count: usize§hosted_shard_count: usize§remote_shard_count: usize§hosted_shards: HashMap<ShardId, ShardStats>§remote_shards: Vec<RemoteShard>Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostStats
impl<'de> Deserialize<'de> for HostStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HostStats
impl RefUnwindSafe for HostStats
impl Send for HostStats
impl Sync for HostStats
impl Unpin for HostStats
impl UnsafeUnpin for HostStats
impl UnwindSafe for HostStats
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