You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's usually people needs to write and read at the same time. Allowing split Writer and Reader or impl Write and Read on the immutable reference of SerialPort can make it happened.
It's also required by implement embedded-io-async that split UsbClass impl. Because when we .await on the SerialPort, no one can wake it because the ownership is borrowed by read(&mut self) and write(&mut self).
The text was updated successfully, but these errors were encountered:
It's usually people needs to write and read at the same time. Allowing split Writer and Reader or impl
Write
andRead
on the immutable reference of SerialPort can make it happened.It's also required by implement
embedded-io-async
that splitUsbClass
impl. Because when we.await
on theSerialPort
, no one can wake it because the ownership is borrowed byread(&mut self)
andwrite(&mut self)
.The text was updated successfully, but these errors were encountered: