pub trait MailDataStream: Debug + AsyncWrite { fn is_done(&self) -> bool; }
Return the result of sending the mail. This should return false if the mail has not been fully dispatched. In other words, the test should fail if the mail data stream hasn’t been closed.