Update rust sdk to 0.1.42 (changes in tracing and sync apis) (#1055)

* Update rust sdk to 0.1.42 (changes in tracing and sync apis)

* Fix sample compilation

---------

Co-authored-by: ganfra <francoisg@element.io>
This commit is contained in:
ganfra 2023-08-11 23:32:31 +02:00 committed by GitHub
parent 08a0f710d7
commit a911134636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 42 additions and 19 deletions

View file

@ -27,7 +27,7 @@ interface SyncService {
/**
* Tries to stop the sync. If service is not syncing it has no effect.
*/
fun stopSync(): Result<Unit>
suspend fun stopSync(): Result<Unit>
/**
* Flow of [SyncState]. Will be updated as soon as the current [SyncState] changes.