v0.0.5
RustBox CI / rustbox (push) Waiting to run

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-30 12:06:44 +01:00
1 parent 96a32ea8fb
commit a643e7e3ab
106 files changed
+2223 -4669

No files matched your search

+4 -6
View File
@@ -1,17 +1,15 @@
use std::fmt;
/// Errors that can occur during IMAP operations.
#[derive(Debug)]
pub enum ImapError {
/// Could not connect to the IMAP server.
ConnectionFailed(String),
/// The server rejected our credentials.
AuthenticationFailed,
/// The requested folder does not exist.
FolderNotFound(String),
/// The requested message UID was not found in the given folder.
MessageNotFound { uid: u32, folder: String },
/// A low-level IMAP protocol error.
ProtocolError(String),
}