feat(volo-thrift): close connection when encounter error #1255
Annotations
4 errors and 2 warnings
no method named `unwrap_or` found for type `bool` in the current scope:
volo-thrift/src/codec/default/ttheader.rs#L627
error[E0599]: no method named `unwrap_or` found for type `bool` in the current scope
--> volo-thrift/src/codec/default/ttheader.rs:627:54
|
627 | if thrift_cx.encode_conn_reset().unwrap_or(false) {
| ^^^^^^^^^ method not found in `bool`
|
no method named `unwrap_or` found for type `bool` in the current scope:
volo-thrift/src/codec/default/ttheader.rs#L586
error[E0599]: no method named `unwrap_or` found for type `bool` in the current scope
--> volo-thrift/src/codec/default/ttheader.rs:586:54
|
586 | || thrift_cx.encode_conn_reset().unwrap_or(false)
| ^^^^^^^^^ method not found in `bool`
|
no method named `unwrap_or` found for type `bool` in the current scope:
volo-thrift/src/codec/default/ttheader.rs#L378
error[E0599]: no method named `unwrap_or` found for type `bool` in the current scope
--> volo-thrift/src/codec/default/ttheader.rs:378:47
|
378 | if cx.encode_conn_reset().unwrap_or(false) {
| ^^^^^^^^^ method not found in `bool`
|
no method named `unwrap_or` found for type `bool` in the current scope:
volo-thrift/src/codec/default/ttheader.rs#L327
error[E0599]: no method named `unwrap_or` found for type `bool` in the current scope
--> volo-thrift/src/codec/default/ttheader.rs:327:47
|
327 | || cx.encode_conn_reset().unwrap_or(false)
| ^^^^^^^^^ method not found in `bool`
|
security-audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
security-audit
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|