[][src]Trait milter::SetErrorReply

pub trait SetErrorReply {
    fn set_error_reply(
        &self,
        code: &str,
        ext_code: Option<&str>,
        msg_lines: Vec<&str>
    ) -> Result<()>; }

A trait for setting up a custom SMTP error reply.

Required methods

fn set_error_reply(
    &self,
    code: &str,
    ext_code: Option<&str>,
    msg_lines: Vec<&str>
) -> Result<()>

Sets the SMTP error reply as specified for ContextApi::set_error_reply.

Loading content...

Implementors

impl SetErrorReply for ContextApi[src]

Loading content...