pub enum OttlErrorMode {
Ignore,
Silent,
Propagate,
}Expand description
Error-handling mode for OTTL condition/statement evaluation, shared by the OTTL filter and transform processors.
Variants§
Ignore
Log evaluation errors and continue.
Silent
Swallow evaluation errors silently and continue.
Propagate
Propagate the error up the pipeline; the payload is dropped.
Trait Implementations§
Source§impl Clone for OttlErrorMode
impl Clone for OttlErrorMode
Source§fn clone(&self) -> OttlErrorMode
fn clone(&self) -> OttlErrorMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OttlErrorMode
impl Debug for OttlErrorMode
Source§impl Default for OttlErrorMode
impl Default for OttlErrorMode
Source§fn default() -> OttlErrorMode
fn default() -> OttlErrorMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for OttlErrorMode
impl PartialEq for OttlErrorMode
Source§impl Serialize for OttlErrorMode
impl Serialize for OttlErrorMode
impl Copy for OttlErrorMode
impl Eq for OttlErrorMode
impl StructuralPartialEq for OttlErrorMode
Auto Trait Implementations§
impl Freeze for OttlErrorMode
impl RefUnwindSafe for OttlErrorMode
impl Send for OttlErrorMode
impl Sync for OttlErrorMode
impl Unpin for OttlErrorMode
impl UnwindSafe for OttlErrorMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more