Trait glean::traits::Ping[][src]

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

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 the ping_info.reason part of the payload.
Loading content...

Implementors

impl Ping for PingType[src]

Loading content...