pub struct NativeSocketEvents { /* private fields */ }Expand description
Independent bounded native socket event receiver.
Implementations§
Source§impl NativeSocketEvents
impl NativeSocketEvents
Sourcepub async fn next(&mut self) -> Result<SocketEvent, NativeEventError>
pub async fn next(&mut self) -> Result<SocketEvent, NativeEventError>
Waits for the next socket event.
Auto Trait Implementations§
impl Freeze for NativeSocketEvents
impl RefUnwindSafe for NativeSocketEvents
impl Send for NativeSocketEvents
impl Sync for NativeSocketEvents
impl Unpin for NativeSocketEvents
impl UnsafeUnpin for NativeSocketEvents
impl UnwindSafe for NativeSocketEvents
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