Enum wasefire_board_api::usb::serial::Event
source · pub enum Event {
Read,
Write,
}
Available on crate features
internal-api-usb
and api-usb-serial
only.Expand description
USB serial event.
Variants§
Read
There might be data to read.
This is only guaranteed to be triggered after a short read.
Write
It might be possible to write data.
This is only guaranteed to be triggered after a short write.
Trait Implementations§
source§impl PartialEq for Event
impl PartialEq for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more