Skip to main content

MeasurablePath

Trait MeasurablePath 

pub trait MeasurablePath {
    // Required methods
    fn id(&self) -> &[u8] ;
    fn path(&self) -> &[u8] ;
    fn timestamp(&self) -> u128;
}
Expand description

Measurable path segment telemetry.

Required Methods§

fn id(&self) -> &[u8]

Returns the unique measurement identifier.

fn path(&self) -> &[u8]

Returns the serialized measured path.

fn timestamp(&self) -> u128

Returns the measurement timestamp in milliseconds since epoch.

Implementors§