pub struct Tree(/* private fields */);Expand description
A fake host’s tree, for a test to read back.
This is crate::http::Served’s counterpart for files: a handle on the
state the fake kept, so a test asks it what happened rather than reaching
into the host, which is the program’s boundary and not the thing under
test.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnsafeUnpin for Tree
impl UnwindSafe for Tree
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