pub struct Trace { /* private fields */ }Expand description
Paths a test run opened, relative to the root.
Implementations§
Source§impl Trace
impl Trace
Sourcepub fn load(path: &Path) -> Result<Self>
pub fn load(path: &Path) -> Result<Self>
Read a trace: one path per line, absolute or relative to the root.
pub fn from_paths(paths: Vec<String>) -> Self
Sourcepub fn opened_paths(&self) -> &BTreeSet<String>
pub fn opened_paths(&self) -> &BTreeSet<String>
The paths the run opened itself, relative to the root, without
the sibling rule Trace::keeps prunes with. The inference
trim asks exactly this: a member survives [bundle] trim-inferred only when the run opened it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Trace
impl Freeze for Trace
impl Move for Trace
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnsafeUnpin for Trace
impl UnwindSafe for Trace
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