File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,13 @@ All changes in this project will be noted in this file.
4
4
5
5
### 0.8.7 (unreleased)
6
6
7
- > ** BREAKING PATCH DUE TO MINIMUM VERSION UPGRADE**
8
- > - ** Minimum Supported Skytable Version** : 0.8.2
9
7
> - ** Field change warnings** :
10
8
> - The ` Config ` struct now has one additional field. This is not a breaking change because the functionality of the library remains unchanged
9
+
10
+ #### Additions
11
+
11
12
- Added support for pipelines
13
+ - Added ` Response::parse ` to convert a response into compatible types
12
14
13
15
### 0.8.6
14
16
Original file line number Diff line number Diff line change @@ -133,6 +133,13 @@ pub enum Response {
133
133
Error ( u16 ) ,
134
134
}
135
135
136
+ impl Response {
137
+ /// Attempt to convert the response into the given type
138
+ pub fn parse < T : FromResponse > ( self ) -> ClientResult < T > {
139
+ T :: from_response ( self )
140
+ }
141
+ }
142
+
136
143
/*
137
144
Response traits
138
145
*/
You can’t perform that action at this time.
0 commit comments