pub struct TestResults<S>{ /* private fields */ }Implementations§
Source§impl<S> TestResults<S>
impl<S> TestResults<S>
pub fn new() -> Self
pub fn with_contains(self, contains: bool) -> Self
pub fn ok_with(self, name: S, exactly: bool, occurrence: usize) -> Self
pub fn fail_with(self, name: S, exactly: bool, occurrence: usize) -> Self
pub fn ok(self, name: S) -> Self
pub fn fail(self, name: S) -> Self
pub fn ok_in(self, name: S) -> Self
pub fn fail_in(self, name: S) -> Self
pub fn ok_times(self, name: S, occurrence: usize) -> Self
pub fn fail_times(self, name: S, occurrence: usize) -> Self
pub fn assert(&self, output: Output)
Trait Implementations§
Source§impl<S> Clone for TestResults<S>
impl<S> Clone for TestResults<S>
Source§fn clone(&self) -> TestResults<S>
fn clone(&self) -> TestResults<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<S> Freeze for TestResults<S>
impl<S> RefUnwindSafe for TestResults<S>where
S: RefUnwindSafe,
impl<S> Send for TestResults<S>where
S: Send,
impl<S> Sync for TestResults<S>where
S: Sync,
impl<S> Unpin for TestResults<S>where
S: Unpin,
impl<S> UnwindSafe for TestResults<S>where
S: UnwindSafe,
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