Struct hbs_pow::HeartbeatPow [] [src]

pub struct HeartbeatPow {
    pub hb: HeartbeatPowContext,
    pub hbr: Vec<HeartbeatPowRecord>,
    pub log: Option<File>,
}

Contains the Heartbeat and its window data buffer.

Fields

Methods

impl HeartbeatPow
[src]

Allocate and initialize a new Heartbeat.

Issue a heartbeat

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