pub struct StatusReport {
pub root: String,
pub prefix: String,
pub gauges: Option<Gauges>,
pub capabilities: Option<Capabilities>,
pub remote_seq: Option<RemoteSeq>,
pub baseline_seq: u64,
pub incarnation_epoch: Option<u64>,
pub incarnation_holder: Option<String>,
pub pending_sentinels: Vec<String>,
pub recent_conflicts: usize,
pub checkout_complete: bool,
}Expand description
What flint-sync status renders. Read STRICTLY from files: the verb
exists to diagnose a workspace whose syncer is dead or deposed, so
it must neither claim the lease (which would depose the very syncer
under diagnosis) nor take the state-directory occupancy lock (which
a live syncer already holds).
Fields§
§root: String§prefix: String§gauges: Option<Gauges>§capabilities: Option<Capabilities>§remote_seq: Option<RemoteSeq>§baseline_seq: u64§incarnation_epoch: Option<u64>§incarnation_holder: Option<String>§pending_sentinels: Vec<String>A pending sentinel still standing (verb name) — the “my agent is blocked on an ack” question.
recent_conflicts: usize§checkout_complete: boolTrait Implementations§
Source§impl Clone for StatusReport
impl Clone for StatusReport
Source§fn clone(&self) -> StatusReport
fn clone(&self) -> StatusReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StatusReport
impl Debug for StatusReport
Auto Trait Implementations§
impl Freeze for StatusReport
impl RefUnwindSafe for StatusReport
impl Send for StatusReport
impl Sync for StatusReport
impl Unpin for StatusReport
impl UnsafeUnpin for StatusReport
impl UnwindSafe for StatusReport
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