Skip to main content

NetdataFunctionProfile

Trait NetdataFunctionProfile 

Source
pub trait NetdataFunctionProfile {
    // Provided methods
    fn field_display_value(
        &self,
        _context: &DisplayContext,
        _scope: DisplayScope,
        _field: &str,
        value: &[u8],
    ) -> Value { ... }
    fn facet_option_name(
        &self,
        context: &DisplayContext,
        field: &str,
        raw_value: &[u8],
    ) -> String { ... }
    fn row_options(&self, fields: &BTreeMap<String, Vec<Vec<u8>>>) -> Value { ... }
}

Provided Methods§

Source

fn field_display_value( &self, _context: &DisplayContext, _scope: DisplayScope, _field: &str, value: &[u8], ) -> Value

Source

fn facet_option_name( &self, context: &DisplayContext, field: &str, raw_value: &[u8], ) -> String

Source

fn row_options(&self, fields: &BTreeMap<String, Vec<Vec<u8>>>) -> Value

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§