samotop-core 0.13.1+smtp

The domain model of Samotop and core functionality - SMTP server and library built on async-std. A base crate for samotop extensions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Default, Eq, PartialEq, Debug, Clone)]
pub struct SmtpUnknownCommand {
    pub verb: String,
    pub params: Vec<String>,
}

impl SmtpUnknownCommand {
    pub fn new(verb: String, params: Vec<String>) -> Self {
        Self { verb, params }
    }
}