pub enum OutputErrorPolicy {
Stop,
Drop,
UnknownValue(String),
}Expand description
Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size).
Variants§
Implementations§
Source§impl OutputErrorPolicy
impl OutputErrorPolicy
pub fn serialize<__S>(
__self: &OutputErrorPolicy,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> OutputErrorPolicy
impl<'de> OutputErrorPolicy
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<OutputErrorPolicy, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for OutputErrorPolicy
impl Clone for OutputErrorPolicy
Source§fn clone(&self) -> OutputErrorPolicy
fn clone(&self) -> OutputErrorPolicy
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 OutputErrorPolicy
impl Debug for OutputErrorPolicy
Source§impl<'de> Deserialize<'de> for OutputErrorPolicy
impl<'de> Deserialize<'de> for OutputErrorPolicy
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for OutputErrorPolicy
impl FromStr for OutputErrorPolicy
Source§impl PartialEq for OutputErrorPolicy
impl PartialEq for OutputErrorPolicy
Source§impl Serialize for OutputErrorPolicy
impl Serialize for OutputErrorPolicy
impl StructuralPartialEq for OutputErrorPolicy
Auto Trait Implementations§
impl Freeze for OutputErrorPolicy
impl RefUnwindSafe for OutputErrorPolicy
impl Send for OutputErrorPolicy
impl Sync for OutputErrorPolicy
impl Unpin for OutputErrorPolicy
impl UnwindSafe for OutputErrorPolicy
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