pub struct HardwareUsage {
pub cpu: u64,
pub payload_io_read: u64,
pub payload_io_write: u64,
pub payload_index_io_read: u64,
pub payload_index_io_write: u64,
pub vector_io_read: u64,
pub vector_io_write: u64,
}Expand description
Qdrant hardware counters (HardwareUsage: seven uint fields).
Field-level #[serde(default)] keeps parsing total: a counter the server
omits reads as zero rather than voiding the whole struct. A structurally
wrong hardware value (non-object, float counters) still voids just this
section — see ServerTelemetry::from_envelope.
Fields§
§cpu: u64Raw CPU cycles (or abstract units) spent processing the request.
payload_io_read: u64Payload bytes read from disk.
payload_io_write: u64Payload bytes written to disk.
payload_index_io_read: u64Payload-index bytes read from disk.
payload_index_io_write: u64Payload-index bytes written to disk.
vector_io_read: u64Vector bytes read from disk.
vector_io_write: u64Vector bytes written to disk.
Implementations§
Source§impl HardwareUsage
impl HardwareUsage
Sourcepub fn saturating_add(&self, other: &Self) -> Self
pub fn saturating_add(&self, other: &Self) -> Self
Element-wise sum (saturating) for report-level totals.
Trait Implementations§
Source§impl Clone for HardwareUsage
impl Clone for HardwareUsage
Source§impl Debug for HardwareUsage
impl Debug for HardwareUsage
Source§impl Default for HardwareUsage
impl Default for HardwareUsage
Source§impl<'de> Deserialize<'de> for HardwareUsage
impl<'de> Deserialize<'de> for HardwareUsage
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
impl Eq for HardwareUsage
Source§impl PartialEq for HardwareUsage
impl PartialEq for HardwareUsage
Source§impl Serialize for HardwareUsage
impl Serialize for HardwareUsage
impl StructuralPartialEq for HardwareUsage
Auto Trait Implementations§
impl Freeze for HardwareUsage
impl RefUnwindSafe for HardwareUsage
impl Send for HardwareUsage
impl Sync for HardwareUsage
impl Unpin for HardwareUsage
impl UnsafeUnpin for HardwareUsage
impl UnwindSafe for HardwareUsage
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