pub enum Interrupt<E> {
Io(Io),
Error(E),
}
Expand description
State progression was interrupted by an event that needs to be handled externally.
Variants§
Io(Io)
An IO operation is necessary. Ignoring this might result in a deadlock on IMAP level.
Error(E)
An error occurred. Ignoring this might result in an undefined IMAP state.
Trait Implementations§
impl<E: Eq> Eq for Interrupt<E>
impl<E> StructuralPartialEq for Interrupt<E>
Auto Trait Implementations§
impl<E> Freeze for Interrupt<E>where
E: Freeze,
impl<E> RefUnwindSafe for Interrupt<E>where
E: RefUnwindSafe,
impl<E> Send for Interrupt<E>where
E: Send,
impl<E> Sync for Interrupt<E>where
E: Sync,
impl<E> Unpin for Interrupt<E>where
E: Unpin,
impl<E> UnwindSafe for Interrupt<E>where
E: UnwindSafe,
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