pub trait ReduceValueMerger: Debug + Send + Sync {
    // Required methods
    fn add(&mut self, v: Value) -> Result<(), String>;
    fn insert_into(
        self: Box<Self>,
        path: &OwnedTargetPath,
        v: &mut LogEvent,
    ) -> Result<(), String>;
}

Required Methods§

source

fn add(&mut self, v: Value) -> Result<(), String>

source

fn insert_into( self: Box<Self>, path: &OwnedTargetPath, v: &mut LogEvent, ) -> Result<(), String>

Trait Implementations§

source§

impl From<Value> for Box<dyn ReduceValueMerger>

source§

fn from(v: Value) -> Self

Converts to this type from the input type.

Implementors§