Enum smtp_queue_fs::Error
source · [−]pub enum Error {
Show 30 variants
OpeningFolder(Arc<PathBuf>, Error),
CreatingFolder(Arc<PathBuf>, Error),
OpeningSubFolder(Arc<PathBuf>, &'static str, Error),
CreatingSubFolder(Arc<PathBuf>, &'static str, Error),
WalkingDirectory(Arc<PathBuf>, Error),
NonUtf8Path(Arc<PathBuf>),
OpeningFileInFolder(PathBuf, Arc<PathBuf>, Error),
ParsingJson(PathBuf, Error),
OpeningFolderInQueue(PathBuf, QueueType, Error),
OpeningFileInMail(&'static str, Arc<String>, QueueType, Error),
ParsingJsonFileInMail(&'static str, Arc<String>, QueueType, Error),
OpeningParentFromMail(Arc<String>, Error),
OpeningFileInMailParent(Arc<String>, Error),
CreatingFolderInQueue(String, QueueType, Error),
CreatingFileInMail(String, PathBuf, QueueType, Error),
WritingJsonFileInMail(String, PathBuf, QueueType, Error),
RenamingFileInMail(String, &'static str, Arc<String>, QueueType, Error),
MovingMailBetweenQueues(Arc<String>, QueueType, QueueType, Error),
ReadingLinkInQueue(Arc<String>, QueueType, Error),
RemovingFileFromMail(&'static str, PathBuf, QueueType, Error),
SymlinkPointsToNonDestinationSubfolder(Arc<String>, QueueType, PathBuf),
SymlinkDoesNotPointToDataQueue(Arc<String>, QueueType, PathBuf),
RemovingFolderFromQueue(PathBuf, QueueType, Error),
RemovingFolderFromMail(PathBuf, PathBuf, QueueType, Error),
ListingFolderInQueue(PathBuf, QueueType, Error),
RemovingFileFromQueue(Arc<String>, QueueType, Error),
FlushingMailContents(&'static str, String, QueueType, Error),
CreatingFolderInMail(String, String, QueueType, Error),
OpeningFolderInMail(String, String, QueueType, Error),
SymlinkingIntoQueue(String, QueueType, PathBuf, Error),
}
Variants
OpeningFolder(Arc<PathBuf>, Error)
CreatingFolder(Arc<PathBuf>, Error)
OpeningSubFolder(Arc<PathBuf>, &'static str, Error)
CreatingSubFolder(Arc<PathBuf>, &'static str, Error)
WalkingDirectory(Arc<PathBuf>, Error)
NonUtf8Path(Arc<PathBuf>)
OpeningFileInFolder(PathBuf, Arc<PathBuf>, Error)
ParsingJson(PathBuf, Error)
OpeningFolderInQueue(PathBuf, QueueType, Error)
OpeningFileInMail(&'static str, Arc<String>, QueueType, Error)
ParsingJsonFileInMail(&'static str, Arc<String>, QueueType, Error)
OpeningParentFromMail(Arc<String>, Error)
OpeningFileInMailParent(Arc<String>, Error)
CreatingFolderInQueue(String, QueueType, Error)
CreatingFileInMail(String, PathBuf, QueueType, Error)
WritingJsonFileInMail(String, PathBuf, QueueType, Error)
RenamingFileInMail(String, &'static str, Arc<String>, QueueType, Error)
MovingMailBetweenQueues(Arc<String>, QueueType, QueueType, Error)
ReadingLinkInQueue(Arc<String>, QueueType, Error)
RemovingFileFromMail(&'static str, PathBuf, QueueType, Error)
SymlinkPointsToNonDestinationSubfolder(Arc<String>, QueueType, PathBuf)
SymlinkDoesNotPointToDataQueue(Arc<String>, QueueType, PathBuf)
RemovingFolderFromQueue(PathBuf, QueueType, Error)
RemovingFolderFromMail(PathBuf, PathBuf, QueueType, Error)
ListingFolderInQueue(PathBuf, QueueType, Error)
RemovingFileFromQueue(Arc<String>, QueueType, Error)
FlushingMailContents(&'static str, String, QueueType, Error)
CreatingFolderInMail(String, String, QueueType, Error)
OpeningFolderInMail(String, String, QueueType, Error)
SymlinkingIntoQueue(String, QueueType, PathBuf, Error)
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more