pub enum SocketEvent {
OnSocketStreamingData {
handle: Hid,
socket_message: SocketMessage,
},
_UnknownEvent {
ordinal: u64,
},
}
Variants§
Implementations§
Source§impl SocketEvent
impl SocketEvent
pub fn into_on_socket_streaming_data(self) -> Option<(Hid, SocketMessage)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SocketEvent
impl RefUnwindSafe for SocketEvent
impl Send for SocketEvent
impl Sync for SocketEvent
impl Unpin for SocketEvent
impl UnwindSafe for SocketEvent
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