pub enum ExecutionStage {
Connect,
Helo,
Authenticate,
MailFrom,
RcptTo,
PreQ,
PostQ,
Delivery,
}Expand description
State of vsl rules execution
Variants§
Connect
After TCP/IP socket has been accepted
Helo
After receiving HELO/EHLO command
Authenticate
After receiving AUTH command
MailFrom
After receiving MAIL FROM command
RcptTo
After receiving RCPT TO command
PreQ
Before write on disk
PostQ
After write on disk & connection closed
Delivery
Right before sending to recipient
Implementations§
§impl ExecutionStage
impl ExecutionStage
pub const fn is_email_received(&self) -> bool
pub const fn is_email_received(&self) -> bool
As the email been received at the current stage ?
Trait Implementations§
§impl Clone for ExecutionStage
impl Clone for ExecutionStage
§fn clone(&self) -> ExecutionStage
fn clone(&self) -> ExecutionStage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ExecutionStage
impl Debug for ExecutionStage
§impl<'de> Deserialize<'de> for ExecutionStagewhere
Self: FromStr,
<Self as FromStr>::Err: Display,
impl<'de> Deserialize<'de> for ExecutionStagewhere Self: FromStr, <Self as FromStr>::Err: Display,
§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 Display for ExecutionStage
impl Display for ExecutionStage
§impl FromStr for ExecutionStage
impl FromStr for ExecutionStage
§impl Hash for ExecutionStage
impl Hash for ExecutionStage
§impl Ord for ExecutionStage
impl Ord for ExecutionStage
§impl PartialEq<ExecutionStage> for ExecutionStage
impl PartialEq<ExecutionStage> for ExecutionStage
§fn eq(&self, other: &ExecutionStage) -> bool
fn eq(&self, other: &ExecutionStage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.§impl PartialOrd<ExecutionStage> for ExecutionStage
impl PartialOrd<ExecutionStage> for ExecutionStage
§fn partial_cmp(&self, other: &ExecutionStage) -> Option<Ordering>
fn partial_cmp(&self, other: &ExecutionStage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more§impl Serialize for ExecutionStagewhere
Self: Display,
impl Serialize for ExecutionStagewhere Self: Display,
§impl TryFrom<&str> for ExecutionStage
impl TryFrom<&str> for ExecutionStage
impl Copy for ExecutionStage
impl Eq for ExecutionStage
impl StructuralEq for ExecutionStage
impl StructuralPartialEq for ExecutionStage
Auto Trait Implementations§
impl RefUnwindSafe for ExecutionStage
impl Send for ExecutionStage
impl Sync for ExecutionStage
impl Unpin for ExecutionStage
impl UnwindSafe for ExecutionStage
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Serialize for Twhere
T: Serialize + ?Sized,
impl<T> Serialize for Twhere T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
source§impl<T> Variant for Twhere
T: Any + Clone + SendSync,
impl<T> Variant for Twhere T: Any + Clone + SendSync,
source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.source§fn as_boxed_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn as_boxed_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert this
Variant trait object to Box<dyn Any>.