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
#[derive(Default, Eq, PartialEq, Debug, Clone)]
pub struct SmtpInvalidCommand {
    line: Vec<u8>,
}

impl SmtpInvalidCommand {
    pub fn new(line: Vec<u8>) -> Self {
        Self { line }
    }
}