#[repr(C)]pub struct NetPollResult {
pub events: *mut NetEvent,
pub count: usize,
pub next_id: *mut c_char,
pub has_more: c_int,
}Expand description
Poll result for C consumers.
Fields§
§events: *mut NetEventArray of events. Free with net_free_poll_result.
count: usizeNumber of events in the array.
next_id: *mut c_charCursor for the next poll (null-terminated). NULL if no more.
has_more: c_int1 if more events are available, 0 otherwise.
Auto Trait Implementations§
impl Freeze for NetPollResult
impl RefUnwindSafe for NetPollResult
impl !Send for NetPollResult
impl !Sync for NetPollResult
impl Unpin for NetPollResult
impl UnsafeUnpin for NetPollResult
impl UnwindSafe for NetPollResult
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