pub struct SyncState {
pub shadow_path: PathBuf,
pub branch: String,
pub online: bool,
pub last_error: Option<String>,
}Fields§
§shadow_path: PathBufPath to the shadow clone in XDG cache.
branch: StringBranch to sync on.
online: boolWhether we’re currently online (last git op succeeded).
last_error: Option<String>Last error message from a git operation, shown in the status bar.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncState
impl RefUnwindSafe for SyncState
impl Send for SyncState
impl Sync for SyncState
impl Unpin for SyncState
impl UnsafeUnpin for SyncState
impl UnwindSafe for SyncState
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