Trait glean::traits::Ping [−][src]
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
pub fn submit(&self, reason: Option<&str>)
[src]
Submits the ping for eventual uploading
Arguments
reason
- the reason the ping was triggered. Included in theping_info.reason
part of the payload.