Skip to main content

RescopeReport

Struct RescopeReport 

Source
pub struct RescopeReport {
    pub target: Option<Vec<String>>,
    pub uncited: usize,
    pub unlinked: usize,
    pub materialized: usize,
    pub bytes: u64,
    pub already_held: usize,
    pub kept_dirty: Vec<String>,
    pub replayed: bool,
}

Fields§

§target: Option<Vec<String>>

The scope this workspace now holds. None = the whole tree.

§uncited: usize

Citations removed from the held set — the NARROW half.

§unlinked: usize

Files removed from the tree. Normally equal to uncited; lower when a path was already gone.

§materialized: usize

Newly admitted citations fetched — the WIDEN half.

§bytes: u64§already_held: usize

Admitted and already held: the scope grew over paths the workspace had. Zero work, and the number that tells a widen that did nothing from a widen that had nothing to do.

§kept_dirty: Vec<String>

Paths whose unpublished local changes a rescope kept, each with a conflict record: on a narrow, paths that should have left the held set (KEPT, cited — a narrow may unwatch a file, never discard an edit); on a widen, admitted paths where the agent had made a file the tree does not cite yet (kept, uncited, published by the next barrier).

§replayed: bool

This call finished a rescope a crash had left half-applied.

Trait Implementations§

Source§

impl Debug for RescopeReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RescopeReport

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.