-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the following commit we want to introduce a CqlResponseParseError type which will be a new variant of `[Query/NewSession]Error`. These two error types implement a `Clone` trait. This is why, we need to derive Clone for all of the types introduces in previous commits. Unfortunately, the `std::io::Error` does not implement Clone. This is why we need to wrap any appearing `std::io::Error` with `Arc`, so the enum types encapsulating it can derive Clone.
- Loading branch information
Showing
1 changed file
with
28 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters