pub struct TestCtx { /* private fields */ }Available on crate feature
test_suite only.Implementations§
Source§impl TestCtx
impl TestCtx
pub fn new() -> Self
pub fn list(&self, path: &str) -> BTreeSet<String>
pub fn dirs(&self) -> &[String]
pub fn files(&self) -> &[(String, Vec<u8>)]
pub fn all_dirs(&self) -> BTreeSet<String>
pub fn build_in_path(&self, path: &Path)
Available on crate feature
std only.pub async fn build_in_fs(&self, fs: &impl Fs)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestCtx
impl RefUnwindSafe for TestCtx
impl Send for TestCtx
impl Sync for TestCtx
impl Unpin for TestCtx
impl UnwindSafe for TestCtx
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