pub struct Vcs { /* fields omitted */ }
Expand description
A builder for test data.
On a VCS copy of the surrounding package this will simply collect and validate the information.
However, when executed in an unpacked .crate then, instead, we provide a detailed report of
necessary data before we abort.
Register the path of a file.
The return value is a key that can later be used in FsData.
Run the final validation and return the frozen dictionary of file data.
This will panic if:
- Any registered file or tree is not tracked in the VCS.
- You have not allowed retrieving data from the VCS.
- It was not possible to retrieve the data from the VCS.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.