use std::{future::Future, io::Result};
use crate::mail::Message;
pub trait Sender {
type Send<'cx>: Future<Output = Result<usize>> + Send + Unpin + 'cx
where
Self: 'cx;
fn send<'cx, 'a>(&'a mut self, message: Message) -> Self::Send<'cx>
where
'a: 'cx;
}