pub struct ApplyReport {
pub created: usize,
pub rewritten: usize,
pub relinked: usize,
pub adopted: usize,
pub unchanged: usize,
pub blocked: usize,
}Expand description
What an apply run did.
Fields§
§created: usize§rewritten: usize§relinked: usize§adopted: usize§unchanged: usizeCapabilities that were already correct, or needed nothing to begin with.
blocked: usizeCapabilities awaiting a human decision.
Implementations§
Source§impl ApplyReport
impl ApplyReport
pub fn changed(&self) -> usize
Sourcepub fn absorb(&mut self, later: ApplyReport)
pub fn absorb(&mut self, later: ApplyReport)
Accumulates a later pass into this one.
apply runs to a fixed point: adopting content creates the canonical
resource, which in turn unblocks every other provider waiting for it. The
counts are summed, while unchanged and blocked are taken from the
final pass because only that pass describes the resting state.
Trait Implementations§
Source§impl Clone for ApplyReport
impl Clone for ApplyReport
Source§fn clone(&self) -> ApplyReport
fn clone(&self) -> ApplyReport
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 moreimpl Copy for ApplyReport
Source§impl Debug for ApplyReport
impl Debug for ApplyReport
Source§impl Default for ApplyReport
impl Default for ApplyReport
Source§fn default() -> ApplyReport
fn default() -> ApplyReport
Returns the “default value” for a type. Read more
impl Eq for ApplyReport
Source§impl PartialEq for ApplyReport
impl PartialEq for ApplyReport
impl StructuralPartialEq for ApplyReport
Auto Trait Implementations§
impl Freeze for ApplyReport
impl RefUnwindSafe for ApplyReport
impl Send for ApplyReport
impl Sync for ApplyReport
impl Unpin for ApplyReport
impl UnsafeUnpin for ApplyReport
impl UnwindSafe for ApplyReport
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