pub enum CloudSyncState {
Idle,
Uploading(f32),
Downloading(f32),
Conflict {
local: CloudSaveEntry,
remote: CloudSaveEntry,
},
SyncComplete,
Error(String),
}Expand description
Current synchronisation state of the cloud client.
Variants§
Trait Implementations§
Source§impl Clone for CloudSyncState
impl Clone for CloudSyncState
Source§fn clone(&self) -> CloudSyncState
fn clone(&self) -> CloudSyncState
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 moreAuto Trait Implementations§
impl Freeze for CloudSyncState
impl RefUnwindSafe for CloudSyncState
impl Send for CloudSyncState
impl Sync for CloudSyncState
impl Unpin for CloudSyncState
impl UnsafeUnpin for CloudSyncState
impl UnwindSafe for CloudSyncState
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