MCPcopy Create free account
hub / github.com/aws/clock-bound / get_sample_clock_parameters

Function get_sample_clock_parameters

clock-bound/src/daemon/clock_state.rs:295–304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293 ///
294 /// Call this function after the system detects a VMClock disruption event.
295 ///
296 /// It will go through and clear the state (like startup).
297 pub fn handle_disruption(&mut self) {
298 // Use the destructure pattern to get a mutable reference to each item.
299 //
300 // This makes it a compilation error if we add a new field this Self without handling it here
301 let Self {
302 clock_adjuster,
303 state_writer: clock_state_writer,
304 clock_params_receiver,
305 clock_disruption_receiver,
306 sync_parameters,
307 clock_status,

Calls 1

newFunction · 0.50

Tested by

no test coverage detected