pub trait NetworkTimingHandler:
Send
+ Debug
+ MallocSizeOf {
// Required methods
fn submit_timing(&self, url: ServoUrl, response: ResourceFetchTiming);
fn clone(&self) -> Box<dyn NetworkTimingHandler>;
}Expand description
A callback that will be invoked on the Fetch thread when a web font download succeeds, providing timing information about the request.
Required Methods§
fn submit_timing(&self, url: ServoUrl, response: ResourceFetchTiming)
fn clone(&self) -> Box<dyn NetworkTimingHandler>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".