Get a default `VMClockShmBody` struct Equivalent to zero'ing this bit of memory
()
| 325 | /// Get a default `VMClockShmBody` struct |
| 326 | /// Equivalent to zero'ing this bit of memory |
| 327 | fn default() -> Self { |
| 328 | VMClockShmBody { |
| 329 | disruption_marker: 0, |
| 330 | flags: 0, |
| 331 | _padding: [0x00, 0x00], |
| 332 | clock_status: VMClockClockStatus::Unknown, |
| 333 | leap_second_smearing_hint: 0, |
| 334 | tai_offset_sec: 0, |
| 335 | leap_indicator: 0, |
| 336 | counter_period_shift: 0, |
| 337 | counter_value: 0, |
| 338 | counter_period_frac_sec: 0, |
| 339 | counter_period_esterror_rate_frac_sec: 0, |
| 340 | counter_period_maxerror_rate_frac_sec: 0, |
| 341 | time_sec: 0, |
| 342 | time_frac_sec: 0, |
| 343 | time_esterror_nanosec: 0, |
| 344 | time_maxerror_nanosec: 0, |
| 345 | } |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | #[cfg(test)] |
nothing calls this directly
no outgoing calls
no test coverage detected