[][src]Enum postman_pop3::Response

pub enum Response {
    APOP,
    AUTH(AuthResponse),
    CAPA(Vec<String>),
    DELE,
    GREET(String),
    LIST(ListResponse),
    NOOP,
    PASS(String),
    QUIT,
    RETR(String),
    STAT {
        count: usize,
        size: usize,
    },
    RSET,
    TOP(String),
    UIDL(BTreeMap<usize, String>),
    USER(String),
    ERR(String),
}

Variants

APOP
CAPA(Vec<String>)
DELE
GREET(String)
NOOP
PASS(String)
QUIT
RETR(String)
STAT

Fields of STAT

count: usizesize: usize
RSET
TOP(String)
USER(String)
ERR(String)

Implementations

impl Response[src]

pub fn to_string(&self) -> Result<String>[src]

pub fn from_str(content: &str, req: &Request) -> Result<Response>[src]

Trait Implementations

impl Debug for Response[src]

impl<'_> From<&'_ Response> for Command[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.