pub struct MockHandshakeResponder { /* private fields */ }Implementations§
Source§impl MockHandshakeResponder
impl MockHandshakeResponder
Sourcepub fn checkpoint(&mut self)
pub fn checkpoint(&mut self)
Validate that all current expectations for all methods have been satisfied, and discard them.
Sourcepub fn new() -> MockHandshakeResponder
pub fn new() -> MockHandshakeResponder
Create a new mock object with no expectations.
This method will not be generated if the real struct
already has a new method. However, it will be
generated if the struct implements a trait with a new
method. The trait’s new method can still be called
like <MockX as TraitY>::new
Source§impl MockHandshakeResponder
impl MockHandshakeResponder
Sourcepub fn expect_process_public_request(&mut self) -> &mut Expectation
pub fn expect_process_public_request(&mut self) -> &mut Expectation
Create an Expectation for mocking the process_public_request method
Trait Implementations§
Source§impl Debug for MockHandshakeResponder
impl Debug for MockHandshakeResponder
Source§impl Default for MockHandshakeResponder
impl Default for MockHandshakeResponder
Source§fn default() -> MockHandshakeResponder
fn default() -> MockHandshakeResponder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MockHandshakeResponder
impl RefUnwindSafe for MockHandshakeResponder
impl Send for MockHandshakeResponder
impl Sync for MockHandshakeResponder
impl Unpin for MockHandshakeResponder
impl UnwindSafe for MockHandshakeResponder
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