Module async_imap::types
source · Expand description
This module contains types used throughout the IMAP protocol.
Structs
- An IMAP
FETCH
response that contains data about a particular message. This response occurs as the result of aFETCH
orSTORE
command, as well as by unilateral server decision (e.g., flag updates). - Meta-information about an IMAP mailbox, as returned by
SELECT
and friends. - A name that matches a
LIST
orLSUB
command. - 5.1. QUOTA Response (https://tools.ietf.org/html/rfc2087#section-5.1)
- 5.1. QUOTA Response (https://tools.ietf.org/html/rfc2087#section-5.1)
- 5.2. QUOTAROOT Response (https://tools.ietf.org/html/rfc2087#section-5.2)
Enums
- List of available Capabilities.
- 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. - The name attributes are returned as part of a LIST response described in RFC 3501 section 7.2.2.
- re-exported from imap_proto;
- 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 Aliases
- From section 2.3.1.2 of RFC 3501.
- From section 2.3.1.1 of RFC 3501.