pub enum IdleResponse {
ManualInterrupt,
Timeout,
NewData(ResponseData),
}
Expand description
Possible responses that happen on an open idle connection.
Variants§
ManualInterrupt
The manual interrupt was used to interrupt the idle connection..
Timeout
The idle connection timed out, because of the user set timeout.
NewData(ResponseData)
The server has indicated that some new action has happened.
Trait Implementations§
Source§impl Debug for IdleResponse
impl Debug for IdleResponse
Source§impl PartialEq for IdleResponse
impl PartialEq for IdleResponse
impl Eq for IdleResponse
impl StructuralPartialEq for IdleResponse
Auto Trait Implementations§
impl Freeze for IdleResponse
impl RefUnwindSafe for IdleResponse
impl Send for IdleResponse
impl Sync for IdleResponse
impl Unpin for IdleResponse
impl UnwindSafe for IdleResponse
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