Skip to content

Commit ac5e1a6

Browse files
author
Markus Westerlind
committed
feat: Make ErrorKind non_exhaustive for forwards compatibility
1 parent d57213a commit ac5e1a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ pub enum NumericBehavior {
3939

4040
/// An enum of all error kinds.
4141
#[derive(PartialEq, Eq, Copy, Clone, Debug)]
42+
#[non_exhaustive]
4243
pub enum ErrorKind {
4344
/// The server generated an invalid response.
4445
ResponseError,

0 commit comments

Comments
 (0)