pub enum RespMsgError {
InvalidPrefixByte(u8),
InvalidInteger(ParseIntError),
InvalidUtf8String(Utf8Error),
SimpleStringContainCrlf,
MissingBulkStringFinalCrlf,
IoError(Error),
}Variants§
InvalidPrefixByte(u8)
InvalidInteger(ParseIntError)
InvalidUtf8String(Utf8Error)
SimpleStringContainCrlf
MissingBulkStringFinalCrlf
IoError(Error)
Trait Implementations§
Source§impl Debug for RespMsgError
impl Debug for RespMsgError
Source§impl Display for RespMsgError
impl Display for RespMsgError
Source§impl From<Error> for RespMsgError
impl From<Error> for RespMsgError
Source§fn from(error: Error) -> RespMsgError
fn from(error: Error) -> RespMsgError
Converts to this type from the input type.
Source§impl From<ErrorKind> for RespMsgError
impl From<ErrorKind> for RespMsgError
Source§fn from(error: ErrorKind) -> RespMsgError
fn from(error: ErrorKind) -> RespMsgError
Converts to this type from the input type.
Source§impl From<ParseIntError> for RespMsgError
impl From<ParseIntError> for RespMsgError
Source§fn from(error: ParseIntError) -> RespMsgError
fn from(error: ParseIntError) -> RespMsgError
Converts to this type from the input type.
Source§impl From<RespMsgError> for RequestMsgError
impl From<RespMsgError> for RequestMsgError
Source§fn from(error: RespMsgError) -> RequestMsgError
fn from(error: RespMsgError) -> RequestMsgError
Converts to this type from the input type.
Source§impl From<RespMsgError> for ResponseMsgError
impl From<RespMsgError> for ResponseMsgError
Source§fn from(error: RespMsgError) -> ResponseMsgError
fn from(error: RespMsgError) -> ResponseMsgError
Converts to this type from the input type.
Source§impl From<Utf8Error> for RespMsgError
impl From<Utf8Error> for RespMsgError
Source§fn from(error: Utf8Error) -> RespMsgError
fn from(error: Utf8Error) -> RespMsgError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RespMsgError
impl !UnwindSafe for RespMsgError
impl Freeze for RespMsgError
impl Send for RespMsgError
impl Sync for RespMsgError
impl Unpin for RespMsgError
impl UnsafeUnpin for RespMsgError
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
Mutably borrows from an owned value. Read more