pub enum TurnPollRet {
WaitUntil(Instant),
Closed,
}Expand description
Return value from calling poll().
Variants§
WaitUntil(Instant)
The caller should wait until the provided time. Other events may cause this value to modified and poll() should be rechecked.
Closed
The connection is closed and no further progress will be made.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TurnPollRet
impl RefUnwindSafe for TurnPollRet
impl Send for TurnPollRet
impl Sync for TurnPollRet
impl Unpin for TurnPollRet
impl UnwindSafe for TurnPollRet
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