pub struct CellDecodeError { /* private fields */ }Expand description
Cell decode failure with row and column context.
Implementations§
Source§impl CellDecodeError
impl CellDecodeError
pub fn row_index(&self) -> usize
pub fn column_index(&self) -> usize
pub fn column_name(&self) -> &str
pub fn target_type_name(&self) -> &str
pub fn actual_column_type(&self) -> &ColumnType
pub fn raw_value_preview(&self) -> Option<&str>
pub fn conversion_error(&self) -> &CellConversionError
Trait Implementations§
Source§impl Debug for CellDecodeError
impl Debug for CellDecodeError
Source§impl Display for CellDecodeError
impl Display for CellDecodeError
Source§impl Error for CellDecodeError
impl Error for CellDecodeError
Source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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 From<CellDecodeError> for RowDecodeError
impl From<CellDecodeError> for RowDecodeError
Source§fn from(error: CellDecodeError) -> Self
fn from(error: CellDecodeError) -> Self
Converts to this type from the input type.
Source§impl From<CellDecodeError> for Error
impl From<CellDecodeError> for Error
Source§fn from(error: CellDecodeError) -> Self
fn from(error: CellDecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CellDecodeError
impl !UnwindSafe for CellDecodeError
impl Freeze for CellDecodeError
impl Send for CellDecodeError
impl Sync for CellDecodeError
impl Unpin for CellDecodeError
impl UnsafeUnpin for CellDecodeError
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