Enum Atof Exporter Error

View as Markdown

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

pub enum AtofExporterError {
    CurrentDirectory(Error),
    OpenFile {
        path: PathBuf,
        source: Error,
    },
    Flush {
        path: PathBuf,
        source: Error,
    },
    StoredFailure {
        path: PathBuf,
        message: String,
    },
    LockPoisoned,
    Runtime(FlowError),
}

Errors produced while configuring or operating the ATOF JSONL exporter.

Variants

CurrentDirectory(Error)

CurrentDirectory(Error)

Failed to resolve the current working directory for default config.

OpenFile

OpenFile

Failed to open the output file.

Fields

path: PathBuf

Output path that failed to open.

source: Error

Underlying I/O error.

Flush

Flush

Failed while flushing the output file.

Fields

path: PathBuf

Output path that failed to flush.

source: Error

Underlying I/O error.

StoredFailure

StoredFailure

The exporter recorded an earlier write or serialization error.

Fields

path: PathBuf

Output path associated with the failure.

message: String

Stored failure message.

LockPoisoned

LockPoisoned

The internal exporter state lock was poisoned.

Runtime(FlowError)

Runtime(FlowError)

Runtime subscriber registration failed.

Trait Implementations

impl Debug for AtofExporterError

impl Debug for AtofExporterError

fmt

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

impl Display for AtofExporterError

impl Display for AtofExporterError

fmt

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

impl Error for AtofExporterError

impl Error for AtofExporterError

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>)

impl From<FlowError> for AtofExporterError

impl From<FlowError> for AtofExporterError

from

fn from(source: FlowError) -> Self