pub struct IndexHostDiagnostics {
pub cpu_percent: Option<f64>,
pub available_memory_percent: Option<f64>,
pub disk_active_percent: Option<f64>,
pub disk_queue: Option<f64>,
pub process_working_set_bytes: Option<u64>,
pub process_private_bytes: Option<u64>,
pub process_read_bytes_per_second: Option<u64>,
pub process_write_bytes_per_second: Option<u64>,
pub disk_free_bytes: Option<u64>,
}Expand description
Host and gateway-process resource measurements.
Fields§
§cpu_percent: Option<f64>§available_memory_percent: Option<f64>§disk_active_percent: Option<f64>§disk_queue: Option<f64>§process_working_set_bytes: Option<u64>§process_private_bytes: Option<u64>§process_read_bytes_per_second: Option<u64>§process_write_bytes_per_second: Option<u64>§disk_free_bytes: Option<u64>Trait Implementations§
Source§impl Clone for IndexHostDiagnostics
impl Clone for IndexHostDiagnostics
Source§fn clone(&self) -> IndexHostDiagnostics
fn clone(&self) -> IndexHostDiagnostics
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 IndexHostDiagnostics
impl Debug for IndexHostDiagnostics
Source§impl Default for IndexHostDiagnostics
impl Default for IndexHostDiagnostics
Source§fn default() -> IndexHostDiagnostics
fn default() -> IndexHostDiagnostics
Returns the “default value” for a type. Read more
Source§impl PartialEq for IndexHostDiagnostics
impl PartialEq for IndexHostDiagnostics
impl StructuralPartialEq for IndexHostDiagnostics
Auto Trait Implementations§
impl Freeze for IndexHostDiagnostics
impl RefUnwindSafe for IndexHostDiagnostics
impl Send for IndexHostDiagnostics
impl Sync for IndexHostDiagnostics
impl Unpin for IndexHostDiagnostics
impl UnsafeUnpin for IndexHostDiagnostics
impl UnwindSafe for IndexHostDiagnostics
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request