pub struct UnexpectedMessage { /* private fields */ }
Expand description
error for database returning backend message type that is not expected. it indicates there might be protocol error on either side of the connection.
Trait Implementations§
Source§impl Debug for UnexpectedMessage
impl Debug for UnexpectedMessage
Source§impl Display for UnexpectedMessage
impl Display for UnexpectedMessage
Source§impl Error for UnexpectedMessage
impl Error for UnexpectedMessage
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !Freeze for UnexpectedMessage
impl RefUnwindSafe for UnexpectedMessage
impl Send for UnexpectedMessage
impl Sync for UnexpectedMessage
impl Unpin for UnexpectedMessage
impl UnwindSafe for UnexpectedMessage
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