Enum imap_types::response::Response
source · [−]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.
Trait Implementations
impl<'a> Eq for Response<'a>
impl<'a> StructuralEq for Response<'a>
impl<'a> StructuralPartialEq for Response<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Response<'a>
impl<'a> Send for Response<'a>
impl<'a> Sync for Response<'a>
impl<'a> Unpin for Response<'a>
impl<'a> UnwindSafe for Response<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more