pub struct DependencySummary {
pub planned_builds: HashSet<DerivationId>,
pub running_builds: HashMap<DerivationId, BuildInfo>,
pub completed_builds: HashMap<DerivationId, CompletedBuildInfo>,
pub failed_builds: HashMap<DerivationId, FailedBuildInfo>,
pub planned_downloads: HashSet<StorePathId>,
pub completed_downloads: HashMap<StorePathId, CompletedTransferInfo>,
pub completed_uploads: HashMap<StorePathId, CompletedTransferInfo>,
pub running_downloads: HashMap<StorePathId, TransferInfo>,
pub running_uploads: HashMap<StorePathId, TransferInfo>,
}Expand description
Dependency summary for tracking build progress
Fields§
§planned_builds: HashSet<DerivationId>§running_builds: HashMap<DerivationId, BuildInfo>§completed_builds: HashMap<DerivationId, CompletedBuildInfo>§failed_builds: HashMap<DerivationId, FailedBuildInfo>§planned_downloads: HashSet<StorePathId>§completed_downloads: HashMap<StorePathId, CompletedTransferInfo>§completed_uploads: HashMap<StorePathId, CompletedTransferInfo>§running_downloads: HashMap<StorePathId, TransferInfo>§running_uploads: HashMap<StorePathId, TransferInfo>Implementations§
Source§impl DependencySummary
impl DependencySummary
pub fn merge(&mut self, other: &Self)
pub fn clear_derivation(&mut self, id: DerivationId, old_status: &BuildStatus)
pub fn update_derivation(&mut self, id: DerivationId, new_status: &BuildStatus)
Trait Implementations§
Source§impl Clone for DependencySummary
impl Clone for DependencySummary
Source§fn clone(&self) -> DependencySummary
fn clone(&self) -> DependencySummary
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 DependencySummary
impl Debug for DependencySummary
Source§impl Default for DependencySummary
impl Default for DependencySummary
Source§fn default() -> DependencySummary
fn default() -> DependencySummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DependencySummary
impl RefUnwindSafe for DependencySummary
impl Send for DependencySummary
impl Sync for DependencySummary
impl Unpin for DependencySummary
impl UnsafeUnpin for DependencySummary
impl UnwindSafe for DependencySummary
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