pub struct MockRequestMethodMatcher { /* private fields */ }Expand description
Provides a simple MockRequestMatcher implementation that simply maps
requests with specific methods to responses.
Implementations§
Trait Implementations§
Source§impl Debug for MockRequestMethodMatcher
impl Debug for MockRequestMethodMatcher
Source§impl Default for MockRequestMethodMatcher
impl Default for MockRequestMethodMatcher
Source§fn default() -> MockRequestMethodMatcher
fn default() -> MockRequestMethodMatcher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MockRequestMethodMatcher
impl !RefUnwindSafe for MockRequestMethodMatcher
impl Send for MockRequestMethodMatcher
impl Sync for MockRequestMethodMatcher
impl Unpin for MockRequestMethodMatcher
impl !UnwindSafe for MockRequestMethodMatcher
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