Enum milter::Status [−][src]
pub enum Status {
Continue,
Reject,
Tempfail,
Discard,
Accept,
Noreply,
Skip,
AllOpts,
}The callback response status.
A response status is returned from all milter callbacks. It controls whether and how processing of some entity is to proceed; ‘entity’ signifies either connection, message, or recipient, according to which protocol stage the status is returned from.
Variants
Proceed to the next stage. This is the neutral, default response.
Reject the entity being processed.
Reject the entity being processed with a temporary failure (client may retry).
Accept the entity being processed but discard the message.
Accept the entity being processed.
Do not send a reply to the MTA. When negotiated for a particular stage, this status must always be used.
This status is only available if it has been negotiated beforehand.
Skip further (repeated) calls to this callback. This is useful in the
body stage, where potentially costly transmission of body content may
be cut short once the milter has received enough data.
This status is only available if it has been negotiated beforehand.
A special status indication used only in negotiation: enable all actions and protocol stages the MTA has to offer.
Trait Implementations
impl StructuralEq for Status[src]
impl StructuralEq for Status[src]impl StructuralPartialEq for Status[src]
impl StructuralPartialEq for Status[src]Auto Trait Implementations
impl RefUnwindSafe for Status
impl RefUnwindSafe for Statusimpl UnwindSafe for Status
impl UnwindSafe for Status