Enum Otlp File Exporter Error

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub enum OtlpFileExporterError {
    CreateDirectory {
        path: PathBuf,
        source: Error,
    },
    ConflictingOpen {
        path: PathBuf,
        setting: &'static str,
    },
    OpenFile {
        path: PathBuf,
        source: Error,
    },
}

Errors produced while configuring or operating the OTLP file exporter.

Variants

CreateDirectory

CreateDirectory

Failed to create the directory containing the output file.

Fields

path: PathBuf

Directory that could not be created.

source: Error

Underlying I/O error.

ConflictingOpen

ConflictingOpen

The path is already open with settings the new exporter disagrees with.

Fields

path: PathBuf

Output path that is already open.

setting: &'static str

Setting the two exporters disagree on.

OpenFile

OpenFile

Failed to open the output file.

Fields

path: PathBuf

Output path that failed to open.

source: Error

Underlying I/O error.

Trait Implementations

impl Debug for OtlpFileExporterError

impl Debug for OtlpFileExporterError

fmt

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

impl Display for OtlpFileExporterError

impl Display for OtlpFileExporterError

fmt

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

impl Error for OtlpFileExporterError

impl Error for OtlpFileExporterError

source

fn source(&self) -> Option<&(dyn Error + 'static)>

description

fn description(&self) -> &str

cause

fn cause(&self) -> Option<&dyn Error>

provide

fn provide<'a>(&'a self, request: &mut Request<'a>)