pub struct World {Show 21 fields
pub now: Timestamp,
pub current: GenerationId,
pub boot_default: GenerationId,
pub boot_entries: BTreeSet<GenerationId>,
pub generations: BTreeMap<GenerationId, StorePath>,
pub bad: BTreeSet<GenerationId>,
pub env_fault: bool,
pub override_hash: Hash,
pub units: BTreeMap<UnitId, Observed>,
pub devices: BTreeMap<UnitId, Option<DriverRef>>,
pub bad_drivers: BTreeSet<String>,
pub jobs: BTreeMap<JobId, FakeJob>,
pub next_job: u64,
pub slow_activation: Option<(Millis, bool)>,
pub fail_activate: BTreeSet<GenerationId>,
pub fail_publish: bool,
pub jobs_tagged_unknown: bool,
pub calls: Vec<CallLog>,
pub alive: BTreeSet<u32>,
pub unkillable: BTreeSet<u32>,
pub gc_roots: BTreeSet<String>,
}Fields§
§now: Timestamp§current: GenerationId§boot_default: GenerationId§boot_entries: BTreeSet<GenerationId>§generations: BTreeMap<GenerationId, StorePath>§bad: BTreeSet<GenerationId>Generations whose probes fail.
env_fault: boolEvery probe fails (an environmental fault coinciding with a change).
override_hash: Hash§units: BTreeMap<UnitId, Observed>§devices: BTreeMap<UnitId, Option<DriverRef>>§bad_drivers: BTreeSet<String>Probes fail while any device is bound to one of these drivers.
jobs: BTreeMap<JobId, FakeJob>§next_job: u64§slow_activation: Option<(Millis, bool)>activate_live accepts the job but never replies; the job runs for this long.
fail_activate: BTreeSet<GenerationId>activate_live of these generations fails outright.
fail_publish: bool§jobs_tagged_unknown: bool§calls: Vec<CallLog>§alive: BTreeSet<u32>§unkillable: BTreeSet<u32>§gc_roots: BTreeSet<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for World
impl RefUnwindSafe for World
impl Send for World
impl Sync for World
impl Unpin for World
impl UnsafeUnpin for World
impl UnwindSafe for World
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