pub(crate) trait SendReportsToEndpoints {
// Required methods
fn send_reports_to_endpoints(
&self,
reports: Vec<Report>,
endpoints: Vec<ReportingEndpoint>,
);
fn attempt_to_deliver_reports_to_endpoints(
&self,
endpoint: &ServoUrl,
origin: ImmutableOrigin,
reports: &[&Report],
);
fn serialize_list_of_reports(reports: &[&Report]) -> Option<RequestBody>;
}
Required Methods§
Sourcefn send_reports_to_endpoints(
&self,
reports: Vec<Report>,
endpoints: Vec<ReportingEndpoint>,
)
fn send_reports_to_endpoints( &self, reports: Vec<Report>, endpoints: Vec<ReportingEndpoint>, )
Sourcefn attempt_to_deliver_reports_to_endpoints(
&self,
endpoint: &ServoUrl,
origin: ImmutableOrigin,
reports: &[&Report],
)
fn attempt_to_deliver_reports_to_endpoints( &self, endpoint: &ServoUrl, origin: ImmutableOrigin, reports: &[&Report], )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.