pub struct SystemInfo {
pub total_keyspaces: usize,
pub total_tables: usize,
pub total_sstables: usize,
pub cache_stats: CacheStatistics,
pub discovery_in_progress: bool,
pub last_discovery_time: Option<Duration>,
pub memory_usage_mb: usize,
pub active_connections: usize,
}Expand description
System information structure
Fields§
§total_keyspaces: usizeTotal number of keyspaces
total_tables: usizeTotal number of tables
total_sstables: usizeTotal number of SSTable files
cache_stats: CacheStatisticsCache statistics
discovery_in_progress: boolWhether discovery is in progress
last_discovery_time: Option<Duration>Time since last discovery
memory_usage_mb: usizeMemory usage in MB
active_connections: usizeActive connections (always 1 for REPL)
Trait Implementations§
Source§impl Clone for SystemInfo
impl Clone for SystemInfo
Source§fn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemInfo
impl Debug for SystemInfo
Source§impl<'de> Deserialize<'de> for SystemInfo
impl<'de> Deserialize<'de> for SystemInfo
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 SystemInfo
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnsafeUnpin for SystemInfo
impl UnwindSafe for SystemInfo
Blanket Implementations§
impl<T> Allocation for T
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