pub struct SocketEvents { /* private fields */ }Expand description
Independent bounded stream of SocketEvent values.
Implementations§
Source§impl SocketEvents
impl SocketEvents
Sourcepub async fn next(&mut self) -> Option<SocketEvent>
pub async fn next(&mut self) -> Option<SocketEvent>
Returns the next socket event or None after the driver stops.
Auto Trait Implementations§
impl Freeze for SocketEvents
impl !RefUnwindSafe for SocketEvents
impl Send for SocketEvents
impl Sync for SocketEvents
impl Unpin for SocketEvents
impl UnsafeUnpin for SocketEvents
impl !UnwindSafe for SocketEvents
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