Takes a JSON string created by `build_sync_json()` and construct `SyncItems` from it.
(&self, serialized: String)
| 293 | /// Takes a JSON string created by `build_sync_json()` |
| 294 | /// and construct `SyncItems` from it. |
| 295 | pub(crate) fn parse_sync_items(&self, serialized: String) -> Result<SyncItems> { |
| 296 | let sync_items: SyncItems = serde_json::from_str(&serialized)?; |
| 297 | Ok(sync_items) |
| 298 | } |
| 299 | |
| 300 | /// Executes sync items sent by other device. |
| 301 | /// |
no outgoing calls