pub struct ComponentHandoff {
pub start_offset_ns: u64,
pub from: ComponentKind,
pub to: ComponentKind,
pub kind: HandoffKind,
pub duration_ns: u64,
pub wait_duration_ns: u64,
pub bytes: Option<u64>,
pub records: Option<u64>,
}Expand description
One ordered handoff between components actually used by a job.
Fields§
§start_offset_ns: u64Offset from job start where the boundary was observed.
from: ComponentKindCalling component.
to: ComponentKindReceiving component.
kind: HandoffKindFinite handoff class.
duration_ns: u64Handoff wall duration, in nanoseconds.
wait_duration_ns: u64Explicit wait within the handoff.
bytes: Option<u64>Exact bytes, when known.
records: Option<u64>Exact records, when known.
Trait Implementations§
Source§impl Clone for ComponentHandoff
impl Clone for ComponentHandoff
impl Copy for ComponentHandoff
Source§impl Debug for ComponentHandoff
impl Debug for ComponentHandoff
impl Eq for ComponentHandoff
Source§impl PartialEq for ComponentHandoff
impl PartialEq for ComponentHandoff
Source§impl Serialize for ComponentHandoff
impl Serialize for ComponentHandoff
impl StructuralPartialEq for ComponentHandoff
Auto Trait Implementations§
impl Freeze for ComponentHandoff
impl RefUnwindSafe for ComponentHandoff
impl Send for ComponentHandoff
impl Sync for ComponentHandoff
impl Unpin for ComponentHandoff
impl UnsafeUnpin for ComponentHandoff
impl UnwindSafe for ComponentHandoff
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