pub enum DICTError {
ReplyError(ParseReplyError),
SystemError(Reply),
UnexpectedPacket(DICTPacket),
NoAnswer,
ReadWriteError(Error),
MalformedAnswer(&'static str),
}
Variants§
ReplyError(ParseReplyError)
SystemError(Reply)
UnexpectedPacket(DICTPacket)
NoAnswer
ReadWriteError(Error)
MalformedAnswer(&'static str)
Trait Implementations§
Source§impl From<ParseReplyError> for DICTError
impl From<ParseReplyError> for DICTError
Source§fn from(src: ParseReplyError) -> Self
fn from(src: ParseReplyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DICTError
impl !RefUnwindSafe for DICTError
impl Send for DICTError
impl Sync for DICTError
impl Unpin for DICTError
impl !UnwindSafe for DICTError
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