pub trait Testable {
// Required methods
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
route: &'life1 str,
headers: Vec<(String, String)>,
) -> Pin<Box<dyn Future<Output = Result<TestResponse, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn options<'life0, 'life1, 'async_trait>(
&'life0 self,
route: &'life1 str,
headers: Vec<(String, String)>,
) -> Pin<Box<dyn Future<Output = Result<TestResponse, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn post<'life0, 'life1, 'async_trait>(
&'life0 self,
route: &'life1 str,
headers: Vec<(String, String)>,
body: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<TestResponse, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn put<'life0, 'life1, 'async_trait>(
&'life0 self,
route: &'life1 str,
headers: Vec<(String, String)>,
body: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<TestResponse, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn delete<'life0, 'life1, 'async_trait>(
&'life0 self,
route: &'life1 str,
headers: Vec<(String, String)>,
) -> Pin<Box<dyn Future<Output = Result<TestResponse, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn patch<'life0, 'life1, 'async_trait>(
&'life0 self,
route: &'life1 str,
headers: Vec<(String, String)>,
body: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<TestResponse, Box<dyn Error>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}