#[repr(u8)]pub enum SerialPortInterruptEvent {
DataReceived = 1,
TransmitterEmpty = 2,
ErrorOrBreak = 4,
StatusChange = 8,
}
Expand description
The types of events that can trigger an interrupt on a serial port.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SerialPortInterruptEvent
impl Send for SerialPortInterruptEvent
impl Sync for SerialPortInterruptEvent
impl Unpin for SerialPortInterruptEvent
impl UnwindSafe for SerialPortInterruptEvent
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