Enum imap_types::rfc3501::response::Continuation
source · [−]pub enum Continuation<'a> {
Basic {
code: Option<Code<'a>>,
text: Text<'a>,
},
Base64(Cow<'a, [u8]>),
}Expand description
7.5. Server Responses - Command Continuation Request
The command continuation request response is indicated by a “+” token instead of a tag. This form of response indicates that the server is ready to accept the continuation of a command from the client. The remainder of this response is a line of text.
This response is used in the AUTHENTICATE command to transmit server data to the client, and request additional client data. This response is also used if an argument to any command is a literal.
The client is not permitted to send the octets of the literal unless the server indicates that it is expected. This permits the server to process commands and reject errors on a line-by-line basis. The remainder of the command, including the CRLF that terminates a command, follows the octets of the literal. If there are any additional command arguments, the literal octets are followed by a space and those arguments.
Variants
Basic
Base64(Cow<'a, [u8]>)
Implementations
Trait Implementations
sourceimpl<'a> Clone for Continuation<'a>
impl<'a> Clone for Continuation<'a>
sourcefn clone(&self) -> Continuation<'a>
fn clone(&self) -> Continuation<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for Continuation<'a>
impl<'a> Debug for Continuation<'a>
sourceimpl<'a> Encode for Continuation<'a>
impl<'a> Encode for Continuation<'a>
sourceimpl<'a> Hash for Continuation<'a>
impl<'a> Hash for Continuation<'a>
sourceimpl<'a> PartialEq<Continuation<'a>> for Continuation<'a>
impl<'a> PartialEq<Continuation<'a>> for Continuation<'a>
sourcefn eq(&self, other: &Continuation<'a>) -> bool
fn eq(&self, other: &Continuation<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Continuation<'a>) -> bool
fn ne(&self, other: &Continuation<'a>) -> bool
This method tests for !=.
impl<'a> Eq for Continuation<'a>
impl<'a> StructuralEq for Continuation<'a>
impl<'a> StructuralPartialEq for Continuation<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Continuation<'a>
impl<'a> Send for Continuation<'a>
impl<'a> Sync for Continuation<'a>
impl<'a> Unpin for Continuation<'a>
impl<'a> UnwindSafe for Continuation<'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