pub struct ClusterStats {
pub total_nodes: usize,
pub available_nodes: usize,
pub total_tasks: usize,
pub running_tasks: usize,
}Expand description
Cluster statistics
Fields§
§total_nodes: usizeTotal number of nodes
available_nodes: usizeNumber of available nodes
total_tasks: usizeTotal tasks submitted
running_tasks: usizeCurrently running tasks
Trait Implementations§
Source§impl Clone for ClusterStats
impl Clone for ClusterStats
Source§fn clone(&self) -> ClusterStats
fn clone(&self) -> ClusterStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClusterStats
impl RefUnwindSafe for ClusterStats
impl Send for ClusterStats
impl Sync for ClusterStats
impl Unpin for ClusterStats
impl UnwindSafe for ClusterStats
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