Enum async_imap::extensions::idle::IdleResponse
source · 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<IdleResponse> for IdleResponse
impl PartialEq<IdleResponse> for IdleResponse
source§fn eq(&self, other: &IdleResponse) -> bool
fn eq(&self, other: &IdleResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.