pub trait LabelNames {
    type LabelNames<'a>: GetIndex<Output = Vec<u8>>
       where Self: 'a;

    // Required method
    fn label_names(&self) -> Self::LabelNames<'_>;
}
Expand description

Trait for backend storage of label names (either in-memory or memory-mapped)

Required Associated Types§

source

type LabelNames<'a>: GetIndex<Output = Vec<u8>> where Self: 'a

Required Methods§

source

fn label_names(&self) -> Self::LabelNames<'_>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl LabelNames for MappedLabelNames

§

type LabelNames<'a> = &'a FrontCodedList<Mmap, Mmap> where Self: 'a

source§

impl LabelNames for VecLabelNames

§

type LabelNames<'a> = &'a [Vec<u8>] where Self: 'a