You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`impl TryFrom<CassConsistency> for (Serial)Consistency` are removed,
as they are:
- Not used anymore in the codebase.
- Prone to misuse, because there are two different semantics of such
conversion:
1. For statement/batch/exec_profile, where `CASS_CONSISTENCY_UNKNOWN`
is allowed and must be handled.
2. For cluster, where `CASS_CONSISTENCY_UNKNOWN` is not allowed,
and must result in an error.
As a bug-resitant alternative, the `MaybeUnsetConfig` type is promoted.
0 commit comments