Enum engineio_rs::Event
source · pub enum Event {
OnOpen(Sid),
OnClose(Sid),
OnData(Sid, Bytes),
OnPacket(Sid, Packet),
OnError(Sid, String),
}
Variants
OnOpen(Sid)
OnClose(Sid)
OnData(Sid, Bytes)
OnPacket(Sid, Packet)
OnError(Sid, String)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more