pub struct Inputs<'a> {
pub state: &'a SystemState,
pub defs: &'a UnitDefs,
pub failed_since: &'a BTreeMap<UnitId, Timestamp>,
pub known_drivers: &'a BTreeMap<UnitId, DriverRef>,
pub current_planarian_built: bool,
pub alternatives: &'a BTreeMap<String, Vec<Value>>,
pub lost_changes: &'a BTreeMap<UnitId, (ChangeId, BTreeMap<String, Value>)>,
}Fields§
§state: &'a SystemState§defs: &'a UnitDefs§failed_since: &'a BTreeMap<UnitId, Timestamp>When each unit was first observed definitely Failed (tie-break in a cycle).
known_drivers: &'a BTreeMap<UnitId, DriverRef>The driver each device was last seen bound to.
current_planarian_built: boolThe running generation was built by a Planarian transaction. Owner-built generations are never rolled back autonomously (owner decision Q3).
alternatives: &'a BTreeMap<String, Vec<Value>>For each runtime option a unit names as its repair (runtime_repair),
the other values available now (for Wi-Fi: known networks in range).
lost_changes: &'a BTreeMap<UnitId, (ChangeId, BTreeMap<String, Value>)>For a unit, the catalog change last committed for it whose assignments the override file no longer carries (§13, P22).
Auto Trait Implementations§
impl<'a> Freeze for Inputs<'a>
impl<'a> RefUnwindSafe for Inputs<'a>
impl<'a> Send for Inputs<'a>
impl<'a> Sync for Inputs<'a>
impl<'a> Unpin for Inputs<'a>
impl<'a> UnsafeUnpin for Inputs<'a>
impl<'a> UnwindSafe for Inputs<'a>
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