Crate mock_paver
source ·Modules§
Structs§
Enums§
Traits§
- A Hook gives tests the opportunity to directly respond to a request, mock-style. If a Hook wants to respond to a request, it should send a response on the request’s Responder, and then return None. If the Hook wants to pass the request on to the next Hook, it should do so by returning Some(the_request_it_got).