Trait libafl::stages::HasNestedStageStatus
source · pub trait HasNestedStageStatus: HasCurrentStage {
// Required methods
fn enter_inner_stage(&mut self) -> Result<(), Error>;
fn exit_inner_stage(&mut self) -> Result<(), Error>;
}
Expand description
Trait for types which track nested stages. Stages which themselves contain stage tuples should ensure that they constrain the state with this trait accordingly.
Required Methods§
sourcefn enter_inner_stage(&mut self) -> Result<(), Error>
fn enter_inner_stage(&mut self) -> Result<(), Error>
Enter a stage scope, potentially resuming to an inner stage status. Returns Ok(true) if resumed.
sourcefn exit_inner_stage(&mut self) -> Result<(), Error>
fn exit_inner_stage(&mut self) -> Result<(), Error>
Exit a stage scope