Struct hbs_acc::HeartbeatAcc [] [src]

pub struct HeartbeatAcc {
    pub hb: HeartbeatAccContext,
    pub hbr: Vec<HeartbeatAccRecord>,
    pub log: Option<File>,
}

Contains the Heartbeat and its window data buffer.

Fields

Methods

impl HeartbeatAcc
[src]

Allocate and initialize a new Heartbeat.

Issue a heartbeat

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