pub struct ClusterStats {Show 15 fields
pub total_nodes: usize,
pub available_nodes: usize,
pub busy_nodes: usize,
pub overloaded_nodes: usize,
pub unreachable_nodes: usize,
pub total_jobs: usize,
pub running_jobs: usize,
pub completed_jobs: usize,
pub failed_jobs: usize,
pub queued_jobs: usize,
pub total_cpu_cores: u32,
pub total_memory_gb: u32,
pub total_gpu_count: u32,
pub avg_cpu_usage: f64,
pub avg_memory_usage: f64,
}Expand description
Cluster statistics
Fields§
§total_nodes: usize§available_nodes: usize§busy_nodes: usize§overloaded_nodes: usize§unreachable_nodes: usize§total_jobs: usize§running_jobs: usize§completed_jobs: usize§failed_jobs: usize§queued_jobs: usize§total_cpu_cores: u32§total_memory_gb: u32§total_gpu_count: u32§avg_cpu_usage: f64§avg_memory_usage: f64Trait 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more