pub enum ScoConnectionEvent {
OnReceive {
packet: Vec<u8>,
},
_UnknownEvent {
ordinal: u64,
},
}
Variants§
Implementations§
Source§impl ScoConnectionEvent
impl ScoConnectionEvent
pub fn into_on_receive(self) -> Option<Vec<u8>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScoConnectionEvent
impl RefUnwindSafe for ScoConnectionEvent
impl Send for ScoConnectionEvent
impl Sync for ScoConnectionEvent
impl Unpin for ScoConnectionEvent
impl UnwindSafe for ScoConnectionEvent
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