pub trait Transport {
// Required method
fn get(&self, url: &str) -> Result<Vec<u8>, String>;
}Expand description
Something that fetches a URL’s bytes: Http with the http feature, Replay’s recorded
responses in tests.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".