pub struct ManagerMetrics {
pub cpu_usage_percent: f64,
pub memory_usage_bytes: u64,
pub active_operations: u32,
pub total_operations: u64,
pub operations_per_second: f64,
pub avg_latency_ms: f64,
pub error_rate: f64,
pub custom_metrics: HashMap<String, f64>,
}
Fields§
§cpu_usage_percent: f64
§memory_usage_bytes: u64
§active_operations: u32
§total_operations: u64
§operations_per_second: f64
§avg_latency_ms: f64
§error_rate: f64
§custom_metrics: HashMap<String, f64>
Trait Implementations§
Source§impl Clone for ManagerMetrics
impl Clone for ManagerMetrics
Source§fn clone(&self) -> ManagerMetrics
fn clone(&self) -> ManagerMetrics
Returns a copy 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 moreSource§impl Debug for ManagerMetrics
impl Debug for ManagerMetrics
Source§impl Default for ManagerMetrics
impl Default for ManagerMetrics
Source§impl<'de> Deserialize<'de> for ManagerMetrics
impl<'de> Deserialize<'de> for ManagerMetrics
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 ManagerMetrics
impl RefUnwindSafe for ManagerMetrics
impl Send for ManagerMetrics
impl Sync for ManagerMetrics
impl Unpin for ManagerMetrics
impl UnwindSafe for ManagerMetrics
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,
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.