pub trait RequestExecutor {
// Required method
fn execute(&mut self, req: Request) -> Result<Vec<u8>>;
}Expand description
Something that can perform a HAP Request and return the response body.
M7 implements this over a SecureSession; tests implement it in memory.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".