pub enum TcpDeviceEvent {
Connection(bool),
Data(String),
}Variants§
Trait Implementations§
Source§impl Clone for TcpDeviceEvent
impl Clone for TcpDeviceEvent
Source§fn clone(&self) -> TcpDeviceEvent
fn clone(&self) -> TcpDeviceEvent
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 TcpDeviceEvent
impl RefUnwindSafe for TcpDeviceEvent
impl Send for TcpDeviceEvent
impl Sync for TcpDeviceEvent
impl Unpin for TcpDeviceEvent
impl UnsafeUnpin for TcpDeviceEvent
impl UnwindSafe for TcpDeviceEvent
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