Skip to main content
pub enum ErrorHandlingMode 
    Permissive,
    IgnoreBadRecords,
    Abort,

How the server handles a record it cannot insert.

Variants

Permissive

Insert what can be, setting what cannot to null

IgnoreBadRecords

Skip a record that cannot be inserted

Abort

Stop at the first record that cannot be inserted

Implementations

Source

pub fn as_str(&self) -> &‘static str

The mode’s name, as the server takes it.

Source

pub fn default_mode(&self) -> &‘static str

The default mode’s name.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

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

Performs copy-assignment from source. Read more
Source

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

Formats the value using the given formatter. Read more
Source

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.