usesyunit::*;usecrate::Setup;/// A component which is asynchronous because of its hardware properties, e.g. a simple DC-Motors
pubtraitAsyncActuator : Setup {/// Marks the duty of the component
typeDuty:Default;/// Starts the movement process of the component in the given direction with a given speed factor
////// # Panics
////// Panics if the percentage given is greater than 1.0 or less than 0.0
fndrive(&mutself, dir: Direction, speed:Self::Duty)->Result<(), crate::Error>;// Data
/// Returns the current movement direction
fndir(&self)-> Direction;/// Returns the current speed factor
fnspeed(&self)->Self::Duty;// fn vars<'a>(&'a self) -> &'a CompVars;
//}