Enum imap_codec::response::Response
source · pub enum Response<'a> {
Status(Status<'a>),
Data(Data<'a>),
Continue(Continue<'a>),
}Variants§
Status(Status<'a>)
Status responses can be tagged or untagged. Tagged status responses indicate the completion result (OK, NO, or BAD status) of a client command, and have a tag matching the command.
Data(Data<'a>)
All server data is untagged. An untagged response is indicated by the token “*” instead of a tag. Untagged status responses indicate server greeting, or server status that does not indicate the completion of a command (for example, an impending system shutdown alert).
Continue(Continue<'a>)
Command continuation request responses use the token “+” instead of a tag. These responses are sent by the server to indicate acceptance of an incomplete client command and readiness for the remainder of the command.