[][src]Enum postman_pop3::Request

pub enum Request {
    APOP {
        username: String,
        digest: String,
    },
    AUTH(Option<String>),
    CAPA,
    DELE(usize),
    LIST(Option<usize>),
    NOOP,
    PASS(String),
    QUIT,
    RETR(usize),
    RSET,
    STAT,
    TOP {
        id: usize,
        lines: usize,
    },
    UIDL(Option<usize>),
    USER(String),
}

Variants

APOP

Fields of APOP

username: Stringdigest: String
AUTH(Option<String>)
CAPA
DELE(usize)
LIST(Option<usize>)
NOOP
PASS(String)
QUIT
RETR(usize)
RSET
STAT
TOP

Fields of TOP

id: usizelines: usize
UIDL(Option<usize>)
USER(String)

Implementations

impl Request[src]

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

Trait Implementations

impl Debug for Request[src]

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

impl FromStr for Request[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

impl RefUnwindSafe for Request

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl UnwindSafe for Request

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> Pointable for T

type Init = T

The type for initializers.

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.