pub struct VigyHost {Show 14 fields
pub tick_start_ms: i64,
pub previous_tick_ms: Option<i64>,
pub tick_count: i64,
pub actions: Vec<ReconcileAction>,
pub log: Vec<LogEntry>,
pub trace: BTreeMap<String, Value>,
pub metrics: BTreeMap<String, f64>,
pub events: Vec<HostEvent>,
pub desired: BTreeMap<String, Value>,
pub observed: BTreeMap<String, Value>,
pub conditions: Vec<Condition>,
pub kv: BTreeMap<String, Value>,
pub kv_dirty: BTreeSet<String>,
pub kv_deleted: BTreeSet<String>,
}Expand description
Per-tick host. Programs populate buffers via intrinsics; the runtime drains them after the tick + persists dirty kv keys.
Fields§
§tick_start_ms: i64§previous_tick_ms: Option<i64>§tick_count: i64§actions: Vec<ReconcileAction>§log: Vec<LogEntry>§trace: BTreeMap<String, Value>§metrics: BTreeMap<String, f64>§events: Vec<HostEvent>§desired: BTreeMap<String, Value>§observed: BTreeMap<String, Value>§conditions: Vec<Condition>§kv: BTreeMap<String, Value>§kv_dirty: BTreeSet<String>§kv_deleted: BTreeSet<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for VigyHost
impl RefUnwindSafe for VigyHost
impl Send for VigyHost
impl Sync for VigyHost
impl Unpin for VigyHost
impl UnsafeUnpin for VigyHost
impl UnwindSafe for VigyHost
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