pub struct Violation {
pub component: String,
pub expected_ns: u64,
pub actual_ns: u64,
pub timestamp: u64,
pub value: Option<f32>,
}Expand description
Violation record
Fields§
§component: StringName of the component that violated its time budget.
expected_ns: u64Expected execution time in nanoseconds.
actual_ns: u64Actual execution time in nanoseconds.
timestamp: u64When the violation occurred (microseconds since UNIX epoch).
value: Option<f32>Optional value associated with the violation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Violation
impl RefUnwindSafe for Violation
impl Send for Violation
impl Sync for Violation
impl Unpin for Violation
impl UnsafeUnpin for Violation
impl UnwindSafe for Violation
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