pub trait InterviewBackend {
// Required method
fn execute(&self, interview: &Interview) -> Result<Answers, BackendError>;
// Provided method
fn execute_section(
&self,
section: &Section,
) -> Result<Answers, BackendError> { ... }
}Expand description
Trait for interview execution backends
Required Methods§
Provided Methods§
Sourcefn execute_section(&self, section: &Section) -> Result<Answers, BackendError>
fn execute_section(&self, section: &Section) -> Result<Answers, BackendError>
Execute a single section (optional, has default implementation)