Module imap::types

source · []
Expand description

This module contains types used throughout the IMAP protocol.

Structs

The self-referencing struct.

An IMAP FETCH response that contains data about a particular message. This response occurs as the result of a FETCH or STORE command, as well as by unilateral server decision (e.g., flag updates).

The self-referencing struct.

Meta-information about an IMAP mailbox, as returned by SELECT and friends.

A name that matches a LIST or LSUB command.

The self-referencing struct.

Enums

An enum representing message sequence numbers or UID sequence sets returned in response to a EXPUNGE command.

With the exception of Flag::Custom, these flags are system flags that are pre-defined in RFC 3501 section 2.3.2. All system flags begin with \ in the IMAP protocol. Certain system flags (\Deleted and \Seen) have special semantics described elsewhere.

Responses that the server sends that are not related to the current command. RFC 3501 states that clients need to be able to accept any response at any time.

Type Definitions

From section 2.3.1.2 of RFC 3501.

From section 2.3.1.1 of RFC 3501.