pub enum SochParseError {
EmptyInput,
InvalidHeader,
InvalidRowCount,
InvalidValue,
RowCountMismatch {
expected: usize,
actual: usize,
},
FieldCountMismatch {
expected: usize,
actual: usize,
},
RowError {
line: usize,
cause: String,
},
}Expand description
Parse error types
Variants§
Trait Implementations§
Source§impl Clone for SochParseError
impl Clone for SochParseError
Source§fn clone(&self) -> SochParseError
fn clone(&self) -> SochParseError
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 SochParseError
impl Debug for SochParseError
Source§impl Display for SochParseError
impl Display for SochParseError
Source§impl Error for SochParseError
impl Error for SochParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SochParseError
impl RefUnwindSafe for SochParseError
impl Send for SochParseError
impl Sync for SochParseError
impl Unpin for SochParseError
impl UnsafeUnpin for SochParseError
impl UnwindSafe for SochParseError
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