pub struct SyncStateData {
pub state: SyncState,
pub progress: u8,
pub pending_docs: u16,
pub last_sync: u32,
}Expand description
Sync State characteristic data
Read/Notify characteristic for sync status.
Fields§
§state: SyncStateCurrent sync state
progress: u8Sync progress (0-100)
pending_docs: u16Number of pending documents
last_sync: u32Last sync timestamp (Unix seconds, truncated to 32 bits)
Implementations§
Trait Implementations§
Source§impl Clone for SyncStateData
impl Clone for SyncStateData
Source§fn clone(&self) -> SyncStateData
fn clone(&self) -> SyncStateData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyncStateData
impl Debug for SyncStateData
Source§impl PartialEq for SyncStateData
impl PartialEq for SyncStateData
impl Eq for SyncStateData
impl StructuralPartialEq for SyncStateData
Auto Trait Implementations§
impl Freeze for SyncStateData
impl RefUnwindSafe for SyncStateData
impl Send for SyncStateData
impl Sync for SyncStateData
impl Unpin for SyncStateData
impl UnwindSafe for SyncStateData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more