Struct Atof Section Config

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub struct AtofSectionConfig {
    pub enabled: bool,
    pub output_directory: Option<PathBuf>,
    pub filename: Option<String>,
    pub mode: String,
    pub endpoints: Vec<AtofEndpointSectionConfig>,
}

Filesystem-backed ATOF JSONL exporter config.

When enabled, this section wraps crate::observability::atof::AtofExporter and writes the raw ATOF event stream as JSONL. The exporter uses the current working directory and a timestamped filename when no explicit path settings are supplied.

Fields

enabled: bool

Whether ATOF JSONL export is active.

output_directory: Option<PathBuf>

Directory containing the JSONL output file.

filename: Option<String>

Output filename. Defaults to the underlying ATOF exporter timestamped filename.

mode: String

File open mode: append or overwrite.

endpoints: Vec<AtofEndpointSectionConfig>

Optional streaming endpoints that receive every raw ATOF event.

Trait Implementations

impl Clone for AtofSectionConfig

impl Clone for AtofSectionConfig

clone

fn clone(&self) -> AtofSectionConfig

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AtofSectionConfig

impl Debug for AtofSectionConfig

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for AtofSectionConfig

impl Default for AtofSectionConfig

default

fn default() -> Self

impl<'de> Deserialize<'de> for AtofSectionConfig

impl<'de> Deserialize<'de> for AtofSectionConfig

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl EditorConfig for AtofSectionConfig

impl EditorConfig for AtofSectionConfig

editor_schema

fn editor_schema() -> &'static EditorSchema

impl Serialize for AtofSectionConfig

impl Serialize for AtofSectionConfig

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,