Struct pop3::POP3Stream [] [src]

pub struct POP3Stream {
    pub is_authenticated: bool,
    // some fields omitted
}

The stream to use for interfacing with the POP3 Server.

Fields

Methods

impl POP3Stream
[src]

Creates a new POP3Stream.

Login to the POP3 server.

Gives the current number of messages in the mailbox and the total size in bytes of the mailbox.

List displays a summary of messages where each message number is shown and the size of the message in bytes.

retrieves the message of the message id given.

Delete the message with the given message id.

This resets the session to its original state.

Quits the current session.

Doesn't do anything. This is usually just used to keep the connection open.

Trait Implementations

impl Debug for POP3Stream
[src]

Formats the value using the given formatter.