Trait scpi::Device

source ·
pub trait Device {
    // Required method
    fn handle_error(&mut self, err: Error);
}
Expand description

A basic device capable of executing commands and not much else

Required Methods§

source

fn handle_error(&mut self, err: Error)

Called when the parser encounters a syntax error or a command handler returns an error.

Implementors§