#[non_exhaustive]pub enum CsvEncodeError {
InvalidNumericCell {
row_index: usize,
column_index: usize,
},
}Expand description
A cell the encoder cannot write.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidNumericCell
A numeric cell does not match the JSON number grammar.
Implementations§
Trait Implementations§
Source§impl Clone for CsvEncodeError
impl Clone for CsvEncodeError
impl Copy for CsvEncodeError
Source§impl Debug for CsvEncodeError
impl Debug for CsvEncodeError
Source§impl Display for CsvEncodeError
impl Display for CsvEncodeError
impl Eq for CsvEncodeError
Source§impl Error for CsvEncodeError
impl Error for CsvEncodeError
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()
Source§impl PartialEq for CsvEncodeError
impl PartialEq for CsvEncodeError
impl StructuralPartialEq for CsvEncodeError
Auto Trait Implementations§
impl Freeze for CsvEncodeError
impl RefUnwindSafe for CsvEncodeError
impl Send for CsvEncodeError
impl Sync for CsvEncodeError
impl Unpin for CsvEncodeError
impl UnsafeUnpin for CsvEncodeError
impl UnwindSafe for CsvEncodeError
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