pub struct RegionReport {
pub nodes: Vec<NodeReport>,
pub edges: Vec<(usize, usize, String)>,
pub chains: Vec<Vec<usize>>,
pub levels: Vec<Vec<usize>>,
pub changed: bool,
pub unclassified: Vec<(usize, String)>,
pub cert: Vec<CertNode>,
pub runtime_checks: usize,
}Expand description
The graph and schedule of one region.
Fields§
§nodes: Vec<NodeReport>§edges: Vec<(usize, usize, String)>(from, to, reason): to waits for from.
chains: Vec<Vec<usize>>Fused chains: node indices in program order.
levels: Vec<Vec<usize>>Chain indices that run concurrently, level by level.
changed: boolSome level runs two or more chains concurrently.
unclassified: Vec<(usize, String)>(line, call): awaited calls whose effect psync could not tell from their names. They are
assumed to read, unless the function is strict.
cert: Vec<CertNode>The certificate of this region’s schedule: each node’s places (see verify/Cert.lean).
With chains and levels, psync-cert turns it into a Lean check.
runtime_checks: usizePairs of chains that run concurrently because their computed file paths differ when written, and that are ordered at run time if the paths turn out to overlap.
Trait Implementations§
Source§impl Clone for RegionReport
impl Clone for RegionReport
Source§fn clone(&self) -> RegionReport
fn clone(&self) -> RegionReport
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 moreSource§impl Debug for RegionReport
impl Debug for RegionReport
Source§impl Default for RegionReport
impl Default for RegionReport
Source§fn default() -> RegionReport
fn default() -> RegionReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegionReport
impl RefUnwindSafe for RegionReport
impl Send for RegionReport
impl Sync for RegionReport
impl Unpin for RegionReport
impl UnsafeUnpin for RegionReport
impl UnwindSafe for RegionReport
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