Hi,
Is it possible to have async functions binding in the same way that gpio_cdev::AsyncLineEventHandle does?
Is it as simple as opening the device file in non-blocking mode and warping the raw file descriptor in a tokio::io::unix::AsyncFd?
It would be very helpful to have an async API.
Thanks
Hi,
Is it possible to have async functions binding in the same way that
gpio_cdev::AsyncLineEventHandledoes?Is it as simple as opening the device file in non-blocking mode and warping the raw file descriptor in a
tokio::io::unix::AsyncFd?It would be very helpful to have an async API.
Thanks