-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query task group state failed in rust. #270
Comments
This should be caused by the inconsistency between the default serde codec format of the Request initiation side (cyfs-lib) CYFS/src/component/cyfs-lib/src/trans/output_request.rs Lines 259 to 265 in e5e8b3a
Receiving request side (cyfs-stack) So the problem is either that the |
The json encoding of CYFS/src/component/cyfs-lib/src/trans/output_request.rs Lines 225 to 230 in 8dca8fc
|
Great job, looking forward to using the new version soon |
When I query task group state in rust, it returns err: (InvalidFormat, parse json string error: value=Download, err: (InvalidParam, unknown trans group type: Download, None), None)
rust code:
stack.trans().get_task_group_state(TransGetTaskGroupStateOutputRequest { common: NDNOutputRequestCommon { req_path: None, dec_id: None, level: NDNAPILevel::Router, target: Some(ood_id.clone()), referer_object: vec![], flags: 0, }, group: group_id.clone(), group_type: TransTaskGroupType::Download, speed_when: None, }).await
The text was updated successfully, but these errors were encountered: