pub struct Limits<'a> {
pub records: usize,
pub bytes: usize,
pub accesses: usize,
pub keep: Option<&'a dyn Fn(&Path) -> bool>,
}Expand description
How much of a trace is read, and which accesses are kept.
Fields§
§records: usizeLines kept, and their bytes; past either the trace is cut short.
bytes: usize§accesses: usizeAccesses kept; past it the trace is cut short.
keep: Option<&'a dyn Fn(&Path) -> bool>Whether an access to an absolute path is kept; None keeps all.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Limits<'a>
impl<'a> !Send for Limits<'a>
impl<'a> !Sync for Limits<'a>
impl<'a> !UnwindSafe for Limits<'a>
impl<'a> Freeze for Limits<'a>
impl<'a> Unpin for Limits<'a>
impl<'a> UnsafeUnpin for Limits<'a>
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