[][src]Enum postfix_policy::PolicyResponse

pub enum PolicyResponse {
    Ok,
    Reject(Vec<u8>),
    Defer(Vec<u8>),
    DeferIfReject(Vec<u8>),
    DeferIfPermit(Vec<u8>),
    Bcc(Vec<u8>),
    Discard(Vec<u8>),
    Dunno,
    Hold(Vec<u8>),
    Redirect(Vec<u8>),
    Info(Vec<u8>),
    Warn(Vec<u8>),
}

Encodes a response to the mail server.

For details see man 5 access

Variants

OkReject(Vec<u8>)Defer(Vec<u8>)DeferIfReject(Vec<u8>)DeferIfPermit(Vec<u8>)Bcc(Vec<u8>)Discard(Vec<u8>)DunnoHold(Vec<u8>)Redirect(Vec<u8>)Info(Vec<u8>)Warn(Vec<u8>)

Trait Implementations

impl PartialEq<PolicyResponse> for PolicyResponse[src]

impl Debug for PolicyResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]