pub enum SerialDeviceEvent {
Connection(bool),
Data(String),
}Variants§
Trait Implementations§
Source§impl Clone for SerialDeviceEvent
impl Clone for SerialDeviceEvent
Source§fn clone(&self) -> SerialDeviceEvent
fn clone(&self) -> SerialDeviceEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SerialDeviceEvent
impl RefUnwindSafe for SerialDeviceEvent
impl Send for SerialDeviceEvent
impl Sync for SerialDeviceEvent
impl Unpin for SerialDeviceEvent
impl UnsafeUnpin for SerialDeviceEvent
impl UnwindSafe for SerialDeviceEvent
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