pub trait HttpTransport {
// Required method
fn get(&self, fetch: &Fetch) -> Result<HttpResponse, TransportFailure>;
}Expand description
Synchronous driver for Rust hosts. wasm drives the steps itself with async fetch.
Required Methods§
fn get(&self, fetch: &Fetch) -> Result<HttpResponse, TransportFailure>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".