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>
source§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 for CommandContinuationRequest<'a>
impl<'a> PartialEq 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 ==
.source§impl<'a> Serialize for CommandContinuationRequest<'a>
impl<'a> Serialize for CommandContinuationRequest<'a>
source§impl<'a> ToBoundedStatic for CommandContinuationRequest<'a>
impl<'a> ToBoundedStatic for CommandContinuationRequest<'a>
impl<'a> Eq for CommandContinuationRequest<'a>
impl<'a> StructuralPartialEq for CommandContinuationRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for CommandContinuationRequest<'a>
impl<'a> RefUnwindSafe for CommandContinuationRequest<'a>
impl<'a> Send for CommandContinuationRequest<'a>
impl<'a> Sync for CommandContinuationRequest<'a>
impl<'a> Unpin for CommandContinuationRequest<'a>
impl<'a> UnwindSafe for CommandContinuationRequest<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)