Enum Otlp File Format

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 OtlpFileFormat {
JsonLines,
Proto,
}

On-disk encoding used by OtlpFileSpanExporter.

Variants

JsonLines

JsonLines

One OTLP/JSON-encoded ExportTraceServiceRequest per line: the serialization the OpenTelemetry file-exporter specification describes, and the default for that reason.

Proto

Proto

Length-delimited OTLP protobuf: a big-endian u32 byte count followed by that many bytes of encoded ExportTraceServiceRequest.

Implementations

impl OtlpFileFormat

impl OtlpFileFormat

extension

pub fn extension(self) -> &'static str

Returns the conventional file extension for the format.

Trait Implementations

impl Clone for OtlpFileFormat

impl Clone for OtlpFileFormat

clone

fn clone(&self) -> OtlpFileFormat

clone_from

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

impl Debug for OtlpFileFormat

impl Debug for OtlpFileFormat

fmt

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

impl Default for OtlpFileFormat

impl Default for OtlpFileFormat

default

fn default() -> OtlpFileFormat

impl<'de> Deserialize<'de> for OtlpFileFormat

impl<'de> Deserialize<'de> for OtlpFileFormat

deserialize

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

impl PartialEq for OtlpFileFormat

impl PartialEq for OtlpFileFormat

eq

fn eq(&self, other: &OtlpFileFormat) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for OtlpFileFormat

impl Serialize for OtlpFileFormat

serialize

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

impl Copy for OtlpFileFormat

impl Copy for OtlpFileFormat

impl Eq for OtlpFileFormat

impl Eq for OtlpFileFormat

impl StructuralPartialEq for OtlpFileFormat

impl StructuralPartialEq for OtlpFileFormat