Expand description
This module contains types used throughout the IMAP protocol.
Structs§
- Capabilities
- From section 7.2.1 of RFC 3501.
- Fetch
- An IMAP
FETCHresponse that contains data about a particular message. This response occurs as the result of aFETCHorSTOREcommand, as well as by unilateral server decision (e.g., flag updates). - Mailbox
- Meta-information about an IMAP mailbox, as returned by
SELECTand friends. - Name
- A name that matches a
LISTorLSUBcommand. - Zero
Copy - 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 (\Deletedand\Seen) have special semantics described elsewhere. - Name
Attribute - An attribute set for an IMAP name.
- Status
Attribute - re-exported from imap_proto;
- Unsolicited
Response - 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§
- Seq
- From section 2.3.1.2 of RFC 3501.
- Uid
- From section 2.3.1.1 of RFC 3501.
- Zero
Copy Result - PATCH_FOR_ASYNC_IMAP_LITE [pub]