Trait asi_core0::Actuator
[−]
[src]
pub trait Actuator<T> { fn send(&mut self, data: &T); fn try_confirm(&mut self) -> Option<Result<(), Box<Error>>>; }
Implemented by actuators.
Required Methods
fn send(&mut self, data: &T)
Send data to actuator.
fn try_confirm(&mut self) -> Option<Result<(), Box<Error>>>
Try to confirm that data is received, return None
if nothing to confirm.
Confirmations are expected to arrive in same order as data was sent.