File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 22
33All changes in this project will be noted in this file.
44
5+ ## 0.8.9
6+
7+ ### Additions
8+
9+ - Added enhanced multi-row decode support
10+ - Added deref to slice for rows
11+
12+ ### Fixes
13+
14+ - Fixed error propagation in ` FromResponse ` impls
15+
516## 0.8.8
617
718### Fixes
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ license = "Apache-2.0"
99name = " skytable"
1010readme = " README.md"
1111repository = " https://github.com/skytable/client-rust"
12- version = " 0.8.8 "
12+ version = " 0.8.9 "
1313
1414# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1515[dependencies ]
Original file line number Diff line number Diff line change @@ -329,6 +329,7 @@ impl FromResponse for Row {
329329 fn from_response ( resp : Response ) -> ClientResult < Self > {
330330 match resp {
331331 Response :: Row ( r) => Ok ( r) ,
332+ Response :: Error ( e) => Err ( Error :: ServerError ( e) ) ,
332333 _ => Err ( Error :: ParseError ( ParseError :: ResponseMismatch ) ) ,
333334 }
334335 }
@@ -338,6 +339,7 @@ impl FromResponse for Vec<Row> {
338339 fn from_response ( resp : Response ) -> ClientResult < Self > {
339340 match resp {
340341 Response :: Rows ( rows) => Ok ( rows) ,
342+ Response :: Error ( e) => Err ( Error :: ServerError ( e) ) ,
341343 _ => Err ( Error :: ParseError ( ParseError :: ResponseMismatch ) ) ,
342344 }
343345 }
@@ -376,6 +378,7 @@ impl<T: FromRow> FromResponse for Rows<T> {
376378 }
377379 Ok ( Self ( ret) )
378380 }
381+ Response :: Error ( e) => Err ( Error :: ServerError ( e) ) ,
379382 _ => Err ( Error :: ParseError ( ParseError :: ResponseMismatch ) ) ,
380383 }
381384 }
You can’t perform that action at this time.
0 commit comments