mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 06:16:30 +03:00
add some empty lines to enums & co to make things more readable and to avoid errors this way :)
This commit is contained in:
committed by
holger krekel
parent
980bb35441
commit
7f6a1ad1a7
@@ -12,10 +12,13 @@ pub type Result<T> = std::result::Result<T, Error>;
|
||||
pub enum Error {
|
||||
#[fail(display = "Envelope error: {}", _0)]
|
||||
EnvelopeError(#[cause] async_smtp::error::Error),
|
||||
|
||||
#[fail(display = "Send error: {}", _0)]
|
||||
SendError(#[cause] async_smtp::smtp::error::Error),
|
||||
|
||||
#[fail(display = "SMTP has no transport")]
|
||||
NoTransport,
|
||||
|
||||
#[fail(display = "SMTP send timed out")]
|
||||
SendTimeout(#[cause] async_std::future::TimeoutError),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user