Enum Open Inference Error
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub enum OpenInferenceError {
MissingTokioRuntime,
UnsupportedTransport {
transport: &'static str,
},
InvalidGrpcHeader {
key: String,
message: String,
},
ExporterBuild(String),
Provider(String),
Core(FlowError),
}
Errors produced while configuring or operating the OpenInference subscriber.
Variants
MissingTokioRuntime
MissingTokioRuntime
The tonic gRPC exporter requires an active Tokio runtime.
UnsupportedTransport
UnsupportedTransport
The requested transport is not available on this target.
Fields
transport: &'static str
Human-readable transport label used in the error message.
InvalidGrpcHeader
InvalidGrpcHeader
Failed to parse a configured gRPC metadata header.
Fields
key: String
Header name that failed to parse.
message: String
Parser failure message.
ExporterBuild(String)
ExporterBuild(String)
Failed to build the OTLP exporter.
Provider(String)
Provider(String)
The underlying tracer provider returned an error.
Core(FlowError)
Core(FlowError)
Registration errors from the core runtime.
Trait Implementations
impl Debug for OpenInferenceError
impl Debug for OpenInferenceError
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for OpenInferenceError
impl Display for OpenInferenceError
fmt
fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result
impl Error for OpenInferenceError
impl Error for OpenInferenceError
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 OpenInferenceError
impl From<FlowError> for OpenInferenceError
from
fn from(source: FlowError) -> Self