rhombus 0.2.21

Next generation extendable CTF framework with batteries included
Documentation
use crate::Result;
use axum::async_trait;

#[async_trait]
pub trait OutboundEmailProvider {
    async fn send_email(
        &self,
        to: &str,
        subject: &str,
        plaintext: &str,
        html: &str,
        in_reply_to: Option<&str>,
        references: &[String],
    ) -> Result<String>;
}

#[allow(async_fn_in_trait)]
pub trait InboundEmail {
    async fn receive_emails(&self) -> Result<()>;
}