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 for IdleResponse
impl PartialEq 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 ==
.impl Eq for IdleResponse
impl StructuralPartialEq for IdleResponse
Auto Trait Implementations§
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