pub enum StopIterationMode {
RequestsThenBody,
BodyThenRequests,
}Expand description
Controls in which order how the test framework handles forwarding call responses and body processing when using the stop_iteration mode.
This is only available when the enable_stop_iteration feature is enabled.
Variants§
RequestsThenBody
Process the call responses first and then the event body.
BodyThenRequests
Process the event body first and then the call responses.
Trait Implementations§
Source§impl Clone for StopIterationMode
impl Clone for StopIterationMode
Source§fn clone(&self) -> StopIterationMode
fn clone(&self) -> StopIterationMode
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 moreSource§impl Debug for StopIterationMode
impl Debug for StopIterationMode
Source§impl PartialEq for StopIterationMode
impl PartialEq for StopIterationMode
Source§impl PartialOrd for StopIterationMode
impl PartialOrd for StopIterationMode
impl Copy for StopIterationMode
impl StructuralPartialEq for StopIterationMode
Auto Trait Implementations§
impl Freeze for StopIterationMode
impl RefUnwindSafe for StopIterationMode
impl Send for StopIterationMode
impl Sync for StopIterationMode
impl Unpin for StopIterationMode
impl UnsafeUnpin for StopIterationMode
impl UnwindSafe for StopIterationMode
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