pub struct ErrorHandlingSettings {
pub max_errors: u32,
pub continue_on_error: bool,
pub error_context_lines: u32,
pub include_suggestions: bool,
pub collect_error_stats: bool,
}Expand description
Error handling settings
Fields§
§max_errors: u32Maximum number of errors to collect before stopping
continue_on_error: boolWhether to continue parsing after recoverable errors
error_context_lines: u32Number of context lines to include in error messages
include_suggestions: boolWhether to include suggestions in error messages
collect_error_stats: boolWhether to collect detailed error statistics
Trait Implementations§
Source§impl Clone for ErrorHandlingSettings
impl Clone for ErrorHandlingSettings
Source§fn clone(&self) -> ErrorHandlingSettings
fn clone(&self) -> ErrorHandlingSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ErrorHandlingSettings
impl Debug for ErrorHandlingSettings
Source§impl Default for ErrorHandlingSettings
impl Default for ErrorHandlingSettings
Source§impl<'de> Deserialize<'de> for ErrorHandlingSettings
impl<'de> Deserialize<'de> for ErrorHandlingSettings
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 PartialEq for ErrorHandlingSettings
impl PartialEq for ErrorHandlingSettings
Source§fn eq(&self, other: &ErrorHandlingSettings) -> bool
fn eq(&self, other: &ErrorHandlingSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ErrorHandlingSettings
impl Serialize for ErrorHandlingSettings
impl StructuralPartialEq for ErrorHandlingSettings
Auto Trait Implementations§
impl Freeze for ErrorHandlingSettings
impl RefUnwindSafe for ErrorHandlingSettings
impl Send for ErrorHandlingSettings
impl Sync for ErrorHandlingSettings
impl Unpin for ErrorHandlingSettings
impl UnsafeUnpin for ErrorHandlingSettings
impl UnwindSafe for ErrorHandlingSettings
Blanket Implementations§
impl<T> Allocation for T
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