diff --git a/scylla-cql/src/errors.rs b/scylla-cql/src/errors.rs index 4159485d65..e9499dfb7d 100644 --- a/scylla-cql/src/errors.rs +++ b/scylla-cql/src/errors.rs @@ -614,17 +614,6 @@ impl From for QueryError { } } -impl From for QueryError { - fn from(value: RequestError) -> Self { - match value { - RequestError::FrameError(e) => e.into(), - RequestError::CqlResponseParseError(e) => e.into(), - RequestError::BrokenConnection(e) => e.into(), - RequestError::UnableToAllocStreamId => QueryError::UnableToAllocStreamId, - } - } -} - impl From for QueryError { fn from(value: UserRequestError) -> Self { match value {