(data_node: Node, types_info: ColumnTypesInfo)
| 579 | } |
| 580 | |
| 581 | fn extract_shares(data_node: Node, types_info: ColumnTypesInfo) -> Result<DataShares> { |
| 582 | let mut shares = vec![]; |
| 583 | if is_shared(&data_node)? { |
| 584 | for share_id in 0..PARTIES as u64 { |
| 585 | shares.push(data_node.tuple_get(share_id)?); |
| 586 | } |
| 587 | } else { |
| 588 | shares.push(data_node); |
| 589 | } |
| 590 | Ok(DataShares { shares, types_info }) |
| 591 | } |
| 592 | |
| 593 | impl DataShares { |
| 594 | fn is_public(&self) -> bool { |
no test coverage detected