Trait glean_core::traits::Ping[][src]

pub trait Ping {
    fn submit(&self, reason: Option<&str>);
}
Expand description

A description for the PingType type.

When changing this trait, make sure all the operations are implemented in the related type in ../metrics/.

Required methods

Submits the ping for eventual uploading

Arguments

  • reason - the reason the ping was triggered. Included in the ping_info.reason part of the payload.

Implementors