pub enum CommandContinuationRequest<'a> {
Basic(CommandContinuationRequestBasic<'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(CommandContinuationRequestBasic<'a>)
Base64(Cow<'a, [u8]>)
Implementations§
Trait Implementations§
source§impl<'a, 'arbitrary: 'a> Arbitrary<'arbitrary> for CommandContinuationRequest<'a>
impl<'a, 'arbitrary: 'a> Arbitrary<'arbitrary> for CommandContinuationRequest<'a>
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl<'a> Clone for CommandContinuationRequest<'a>
impl<'a> Clone for CommandContinuationRequest<'a>
source§fn clone(&self) -> CommandContinuationRequest<'a>
fn clone(&self) -> CommandContinuationRequest<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a> Debug for CommandContinuationRequest<'a>
impl<'a> Debug for CommandContinuationRequest<'a>
source§impl<'de, 'a> Deserialize<'de> for CommandContinuationRequest<'a>
impl<'de, 'a> Deserialize<'de> for CommandContinuationRequest<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl<'a> Hash for CommandContinuationRequest<'a>
impl<'a> Hash for CommandContinuationRequest<'a>
source§impl<'a> IntoBoundedStatic for CommandContinuationRequest<'a>
impl<'a> IntoBoundedStatic for CommandContinuationRequest<'a>
§type Static = CommandContinuationRequest<'static>
type Static = CommandContinuationRequest<'static>
'static
lifetime.source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
T
into an owned T
such that T: 'static
.source§impl<'a> PartialEq<CommandContinuationRequest<'a>> for CommandContinuationRequest<'a>
impl<'a> PartialEq<CommandContinuationRequest<'a>> for CommandContinuationRequest<'a>
source§fn eq(&self, other: &CommandContinuationRequest<'a>) -> bool
fn eq(&self, other: &CommandContinuationRequest<'a>) -> bool
self
and other
values to be equal, and is used
by ==
.