add some empty lines to enums & co to make things more readable and to avoid errors this way :)

This commit is contained in:
B. Petersen
2019-12-20 00:40:48 +01:00
committed by holger krekel
parent 980bb35441
commit 7f6a1ad1a7
9 changed files with 87 additions and 1 deletions

View File

@@ -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),
}