[][src]Trait asi_core0::Actuator

pub trait Actuator<T> {
    pub fn send(&mut self, data: &T);
pub fn try_confirm(&mut self) -> Option<Result<(), Box<dyn Error>>>; }

Implemented by actuators.

Required methods

pub fn send(&mut self, data: &T)[src]

Send data to actuator.

pub fn try_confirm(&mut self) -> Option<Result<(), Box<dyn Error>>>[src]

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.

Loading content...

Implementors

Loading content...