refactor(core): do not convert encode or decode errors into sqlx::Error automatically

This commit is contained in:
Ryan Leckey 2021-02-26 00:18:15 -08:00
parent 59eb42610d
commit 5e1743fd3f
No known key found for this signature in database
GPG Key ID: F8AA68C235AB08C9

View File

@ -190,15 +190,3 @@ impl From<std::io::ErrorKind> for Error {
Self::Network(error.into())
}
}
impl From<DecodeError> for Error {
fn from(error: DecodeError) -> Self {
Self::Decode(error)
}
}
impl From<EncodeError> for Error {
fn from(error: EncodeError) -> Self {
Self::Encode(error)
}
}