pub trait FetchService {
// Required method
fn fetch(&self, url: &str) -> Result<Vec<u8>>;
}Expand description
HTTP(S) fetches made by the host (net.fetch).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".