mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
refactor(core): do not convert encode or decode errors into sqlx::Error automatically
This commit is contained in:
parent
59eb42610d
commit
5e1743fd3f
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user