pub struct TestCase { /* private fields */ }
Implementations§
Source§impl Case
impl Case
pub fn get_status(&self) -> TestStatus
pub fn get_stderr() -> Result<File>
pub fn get_stderr_named(key: &'static str) -> Result<File>
pub fn get_stdout() -> Result<File>
pub fn get_stdout_named(key: &'static str) -> Result<File>
pub fn with_mut<F, R>(f: F) -> Rwhere
F: FnOnce(&mut Self) -> R,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnwindSafe for Case
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