pub struct TestSink { /* private fields */ }Implementations§
Source§impl TestSink
impl TestSink
pub fn new() -> Self
pub fn ignore_expectations(&mut self, ignore: bool)
Source§impl TestSink
impl TestSink
pub fn add_expectation(&mut self, expect: TestEffect)
pub fn count(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestSink
impl RefUnwindSafe for TestSink
impl Send for TestSink
impl Sync for TestSink
impl Unpin for TestSink
impl UnwindSafe for TestSink
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