usecrate::RespError;usebytes::Bytes;/// One piece of a RESP request, split into pieces for sending through a channel.
#[derive(Debug)]pubenumRespRequest{/// One argument in a RESP request.
Argument(Bytes),/// An invalid argument in an inline request.
InvalidArgument,/// A RESP protocol error.
Error(RespError),/// Notification of the end of a request.
End,}implFrom<Bytes>forRespRequest{fnfrom(value: Bytes)->Self{RespRequest::Argument(value)}}