/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
impl CrashPing<'_> { /// Send the crash ping. /// /// Returns the crash ping id if the ping could be sent. Any errors are logged. pubfn send(&self) { // Glean ping tests have to be run serially (because the glean interface is a global), but // we can run tests that are uninterested in glean pings in parallel by disabling the pings // here. if mock::hook(true, "enable_glean_pings") { iflet Err(e) = self.send_glean() {
log::error!("failed to send glean ping: {e:#}");
}
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.