pub enum Activity {
Connecting,
ListingFolders,
SyncingFolder {
folder: String,
index: usize,
of: usize,
},
FetchingHeaders {
folder: String,
done: usize,
total: usize,
},
FetchingBodies {
folder: String,
done: usize,
total: usize,
},
RunningRules {
folder: String,
},
RunningCommand {
what: String,
},
Idle {
since: i64,
},
Offline {
reason: String,
retry_at: i64,
},
NotRunning {
reason: String,
},
}Variants§
Connecting
ListingFolders
SyncingFolder
FetchingHeaders
FetchingBodies
RunningRules
RunningCommand
Idle
Offline
NotRunning
The account has no sync thread, so it never syncs until the daemon restarts or its config changes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Activity
impl<'de> Deserialize<'de> for Activity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Activity
Auto Trait Implementations§
impl Freeze for Activity
impl RefUnwindSafe for Activity
impl Send for Activity
impl Sync for Activity
impl Unpin for Activity
impl UnsafeUnpin for Activity
impl UnwindSafe for Activity
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