pub struct SocketEventEntry {
pub event: &'static str,
pub invoke: SocketEventFn,
}Expand description
One #[on_socket_event] method, type-erased.
Fields§
§event: &'static strThe event name a client emits.
invoke: SocketEventFnTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SocketEventEntry
impl !UnwindSafe for SocketEventEntry
impl Freeze for SocketEventEntry
impl Send for SocketEventEntry
impl Sync for SocketEventEntry
impl Unpin for SocketEventEntry
impl UnsafeUnpin for SocketEventEntry
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