Struct hbs::Heartbeat [] [src]

pub struct Heartbeat {
    pub hb: HeartbeatContext,
    pub hbr: Vec<HeartbeatRecord>,
    pub log: Option<File>,
}

Contains the Heartbeat and its window data buffer.

Fields

Methods

impl Heartbeat
[src]

Allocate and initialize a new Heartbeat.

Issue a heartbeat

Rust-only function that logs the buffer (up to buffer_index) to a file.