pub enum PollResult {
None,
SocketStateChanged,
}
Expand description
Result returned by Interface::poll
.
This contains information on whether socket states might have changed.
Variants§
None
Socket state is guaranteed to not have changed.
SocketStateChanged
You should check the state of sockets again for received data or completion of operations.
Trait Implementations§
Source§impl Clone for PollResult
impl Clone for PollResult
Source§fn clone(&self) -> PollResult
fn clone(&self) -> PollResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PollResult
impl Debug for PollResult
Source§impl PartialEq for PollResult
impl PartialEq for PollResult
impl Copy for PollResult
impl Eq for PollResult
impl StructuralPartialEq for PollResult
Auto Trait Implementations§
impl Freeze for PollResult
impl RefUnwindSafe for PollResult
impl Send for PollResult
impl Sync for PollResult
impl Unpin for PollResult
impl UnwindSafe for PollResult
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