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. - 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§
- 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. - An attribute set for an IMAP name.
- 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.