[−][src]Enum milter::Status
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 Clone for Status
[src]
impl Copy for Status
[src]
impl Debug for Status
[src]
impl Default for Status
[src]
impl Eq for Status
[src]
impl Hash for Status
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Status> for Status
[src]
pub fn eq(&self, other: &Status) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Status
[src]
impl StructuralPartialEq for Status
[src]
Auto Trait Implementations
impl RefUnwindSafe for Status
[src]
impl Send for Status
[src]
impl Sync for Status
[src]
impl Unpin for Status
[src]
impl UnwindSafe for Status
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,