Trait smtp_server::protocol::Protocol
source · [−]pub trait Protocol<'resp>: Sealed {
type HandleMailReturnType;
const PROTOCOL: ProtocolName;
fn handle_mail_return_type_as_stream(
_resp: Self::HandleMailReturnType
) -> Pin<Box<dyn Stream<Item = Decision<()>> + Send + 'resp>>;
}