Struct vsmtp_config::field::FieldServerSystemThreadPool
pub struct FieldServerSystemThreadPool {
pub receiver: NonZeroUsize,
pub processing: NonZeroUsize,
pub delivery: NonZeroUsize,
}Expand description
The field related to the thread allocation.
Fields§
§receiver: NonZeroUsizeNumber of thread used by the pool receiver.
This pool receive the client connection and handle the SMTP transaction.
processing: NonZeroUsizeNumber of thread used by the pool processing.
This pool forward the mails received by the receiver pool to the delivery pool.
The mails treated has been accepted with a reply “250 Ok”.
“Offline” modification are applied here.
delivery: NonZeroUsizeNumber of thread used by the pool delivery.
This pool send the mails to the recipient, and handle the delivery side.
Trait Implementations§
§impl Debug for FieldServerSystemThreadPool
impl Debug for FieldServerSystemThreadPool
§impl Default for FieldServerSystemThreadPool
impl Default for FieldServerSystemThreadPool
§impl<'de> Deserialize<'de> for FieldServerSystemThreadPool
impl<'de> Deserialize<'de> for FieldServerSystemThreadPool
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<FieldServerSystemThreadPool> for FieldServerSystemThreadPool
impl PartialEq<FieldServerSystemThreadPool> for FieldServerSystemThreadPool
§fn eq(&self, other: &FieldServerSystemThreadPool) -> bool
fn eq(&self, other: &FieldServerSystemThreadPool) -> bool
This method tests for
self and other values to be equal, and is used
by ==.