pub struct SlotPohTimingInfo {
pub slot: Slot,
pub root_slot: Option<Slot>,
pub timing_point: PohTimingPoint,
}
Expand description
SlotPohTimingInfo. This struct is sent to channel and received by poh_timing_report service.
Fields§
§slot: Slot
current slot
root_slot: Option<Slot>
root slot
timing_point: PohTimingPoint
timing event
Implementations§
source§impl SlotPohTimingInfo
impl SlotPohTimingInfo
sourcepub fn new_slot_start_poh_time_point(
slot: Slot,
root_slot: Option<Slot>,
timestamp: u64
) -> SlotPohTimingInfo
pub fn new_slot_start_poh_time_point( slot: Slot, root_slot: Option<Slot>, timestamp: u64 ) -> SlotPohTimingInfo
create slot start poh timing point
sourcepub fn new_slot_end_poh_time_point(
slot: Slot,
root_slot: Option<Slot>,
timestamp: u64
) -> SlotPohTimingInfo
pub fn new_slot_end_poh_time_point( slot: Slot, root_slot: Option<Slot>, timestamp: u64 ) -> SlotPohTimingInfo
create slot end poh timing point
sourcepub fn new_slot_full_poh_time_point(
slot: Slot,
root_slot: Option<Slot>,
timestamp: u64
) -> SlotPohTimingInfo
pub fn new_slot_full_poh_time_point( slot: Slot, root_slot: Option<Slot>, timestamp: u64 ) -> SlotPohTimingInfo
create slot full poh timing point
Trait Implementations§
source§impl Clone for SlotPohTimingInfo
impl Clone for SlotPohTimingInfo
source§fn clone(&self) -> SlotPohTimingInfo
fn clone(&self) -> SlotPohTimingInfo
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 more