pub struct TrapConfig {
pub max_events: usize,
pub max_syscalls: usize,
}Expand description
Configuration for the trap backend.
Fields§
§max_events: usizeMaximum number of events to retain for kh trace.
max_syscalls: usizeMaximum syscalls before forced exit (safety cap).
Trait Implementations§
Source§impl Clone for TrapConfig
impl Clone for TrapConfig
Source§impl Debug for TrapConfig
impl Debug for TrapConfig
Auto Trait Implementations§
impl Freeze for TrapConfig
impl RefUnwindSafe for TrapConfig
impl Send for TrapConfig
impl Sync for TrapConfig
impl Unpin for TrapConfig
impl UnsafeUnpin for TrapConfig
impl UnwindSafe for TrapConfig
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