pub(crate) unsafe fn handle_raw<Event: EventExt>(
    event_data: *mut crate::binary::c_types::c_void,
    event_data_size: usize,
) -> bool {
    debug_assert_eq!(
        event_data_size,
        core::mem::size_of::<Event>(),
        "wrong size event data"
    );

    let event = unsafe { Event::from_raw_event_data(event_data) };
    handle::<Event>(&event)
}
Handle an event given the raw pointers.
# Safety
The pointer should be valid to cast to `Event`'s inner type (if it has one)
esp-wifi/src/wifi/event.rs