pub struct IoPayload {
pub queue_depth: u32,
pub latency_ns: u64,
pub bytes: u64,
pub op: u32,
}Expand description
Payload for I/O events.
Fields§
§queue_depth: u32Queue depth at submission (or 0).
latency_ns: u64Operation latency in ns (0 if unknown).
bytes: u64Bytes transferred.
op: u32Operation (0 read, 1 submit batch, 2 complete, …).
Trait Implementations§
impl Copy for IoPayload
Source§impl<'de> Deserialize<'de> for IoPayload
impl<'de> Deserialize<'de> for IoPayload
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 IoPayload
impl StructuralPartialEq for IoPayload
Auto Trait Implementations§
impl Freeze for IoPayload
impl RefUnwindSafe for IoPayload
impl Send for IoPayload
impl Sync for IoPayload
impl Unpin for IoPayload
impl UnsafeUnpin for IoPayload
impl UnwindSafe for IoPayload
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