pub struct Server<B: Backend> {Show 16 fields
pub addr: String,
pub tls_acceptor: Option<TlsAcceptor>,
pub domain: String,
pub max_recipients: usize,
pub max_message_bytes: usize,
pub max_line_length: usize,
pub allow_insecure_auth: bool,
pub strict: bool,
pub read_timeout: Duration,
pub write_timeout: Duration,
pub enable_smtputf8: bool,
pub enable_requiretls: bool,
pub enable_binarymime: bool,
pub auth_disabled: bool,
pub backend: B,
pub caps: Vec<String>,
}Fields§
§addr: String§tls_acceptor: Option<TlsAcceptor>§domain: String§max_recipients: usize§max_message_bytes: usize§max_line_length: usize§allow_insecure_auth: bool§strict: bool§read_timeout: Duration§write_timeout: Duration§enable_smtputf8: bool§enable_requiretls: bool§enable_binarymime: bool§auth_disabled: bool§backend: B§caps: Vec<String>Implementations§
Auto Trait Implementations§
impl<B> Freeze for Server<B>where
B: Freeze,
impl<B> !RefUnwindSafe for Server<B>
impl<B> Send for Server<B>
impl<B> Sync for Server<B>
impl<B> Unpin for Server<B>where
B: Unpin,
impl<B> !UnwindSafe for Server<B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more