pub trait HardwareDataManager: Iterator<Item = Update> {
    // Required method
    fn clear(&mut self);
}
Expand description

A typed, clearable iterator that emits Updates when iterated upon. Designed to be maximally flexable to allow various implementations.

Required Methods§

source

fn clear(&mut self)

Empties the message queue contained within the HardwareDataManager. This is helpful when the consumer of this queue is unable to keep up with the Updates and wants to skip forward to the most recent items.

Implementors§