pub type Factory = Arc<dyn Fn(&PlcConfig) -> Result<Box<dyn Plc>, String> + Send + Sync>;
Makes the (not yet opened) driver of a PLC.
pub struct Factory { /* private fields */ }