pub enum ImapMailboxWatchError {
QresyncUnsupported,
MissingUidValidity,
MissingHighestModSeq,
InvalidSequenceSet(String),
Select(ImapMailboxSelectError),
Fetch(ImapMessageFetchError),
Idle(ImapIdleError),
Enable(ImapExtensionEnableError),
}Expand description
Failure causes during the mailbox watch flow.
Variants§
QresyncUnsupported
MissingUidValidity
MissingHighestModSeq
InvalidSequenceSet(String)
Select(ImapMailboxSelectError)
Fetch(ImapMessageFetchError)
Idle(ImapIdleError)
Enable(ImapExtensionEnableError)
Trait Implementations§
Source§impl Debug for ImapMailboxWatchError
impl Debug for ImapMailboxWatchError
Source§impl Display for ImapMailboxWatchError
impl Display for ImapMailboxWatchError
Source§impl Error for ImapMailboxWatchError
impl Error for ImapMailboxWatchError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ImapExtensionEnableError> for ImapMailboxWatchError
impl From<ImapExtensionEnableError> for ImapMailboxWatchError
Source§fn from(source: ImapExtensionEnableError) -> Self
fn from(source: ImapExtensionEnableError) -> Self
Converts to this type from the input type.
Source§impl From<ImapIdleError> for ImapMailboxWatchError
impl From<ImapIdleError> for ImapMailboxWatchError
Source§fn from(source: ImapIdleError) -> Self
fn from(source: ImapIdleError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxSelectError> for ImapMailboxWatchError
impl From<ImapMailboxSelectError> for ImapMailboxWatchError
Source§fn from(source: ImapMailboxSelectError) -> Self
fn from(source: ImapMailboxSelectError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMailboxWatchError> for ImapClientStdError
Available on crate feature client only.
impl From<ImapMailboxWatchError> for ImapClientStdError
Available on crate feature
client only.Source§fn from(source: ImapMailboxWatchError) -> Self
fn from(source: ImapMailboxWatchError) -> Self
Converts to this type from the input type.
Source§impl From<ImapMessageFetchError> for ImapMailboxWatchError
impl From<ImapMessageFetchError> for ImapMailboxWatchError
Source§fn from(source: ImapMessageFetchError) -> Self
fn from(source: ImapMessageFetchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImapMailboxWatchError
impl RefUnwindSafe for ImapMailboxWatchError
impl Send for ImapMailboxWatchError
impl Sync for ImapMailboxWatchError
impl Unpin for ImapMailboxWatchError
impl UnsafeUnpin for ImapMailboxWatchError
impl UnwindSafe for ImapMailboxWatchError
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