[][src]Module imap::types

This module contains types used throughout the IMAP protocol.

Structs

Capabilities

From section 7.2.1 of RFC 3501.

Fetch

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).

Mailbox

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

Name

A name that matches a LIST or LSUB command.

ZeroCopy

This type wraps an input stream and a type that was constructed by parsing that input stream, which allows the parsed type to refer to data in the underlying stream instead of copying it.

Enums

Flag

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.

NameAttribute

An attribute set for an IMAP name.

StatusAttribute

re-exported from imap_proto;

UnsolicitedResponse

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. These are the ones we've encountered in the wild.

Type Definitions

Seq

From section 2.3.1.2 of RFC 3501.

Uid

From section 2.3.1.1 of RFC 3501.