pub type SerialWriteEventHandlerFunction = fn(_: Isolated, _: SerialPortIdentity, _: Option<*const dyn Any>);
Callback called when a byte has been written