Trait xray_lite::Namespace

source ·
pub trait Namespace {
    // Required methods
    fn name(&self, prefix: &str) -> String;
    fn update_subsegment(&self, subsegment: &mut Subsegment);
}
Expand description

Namespace.

Required Methods§

source

fn name(&self, prefix: &str) -> String

Name of the namespace.

prefix may be ignored.

source

fn update_subsegment(&self, subsegment: &mut Subsegment)

Updates the subsegment.

Implementors§