types/mod.rs

rust-imap · src/types/mod.rs · rust · Apache-2.0
email

Defines core IMAP protocol types such as UID, UIDVALIDITY, and mailbox state for use in an IMAP client.

// Source: https://github.com/jonhoo/rust-imap | License: Apache-2.0 | Copyright 2016 Matt McCoy
// Provided via justclaw.it.com; keep this notice with the code.
//! This module contains types used throughout the IMAP protocol.

/// From section [2.3.1.1 of RFC 3501](https://tools.ietf.org/html/rfc3501#section-2.3.1.1).
///
/// A 32-bit value assigned to each message, which when used with the unique identifier validity
/// value (see below) forms a 64-bit value that will not refer to any other message in the mailbox
/// or any subsequent mailbox with the same name forever.  Unique identifiers are assigned in a
/// strictly ascending fashion in the mailbox; as each message is added to the mailbox it is
/// assigned a higher UID than the message(s) which were added previously.  Unlike messag

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key