pub enum TsvParseError {
TsvError(Error),
AddrFieldParseError(AddrParseError, &'static str),
IntFieldParseError(ParseIntError, &'static str),
}
Variants§
TsvError(Error)
AddrFieldParseError(AddrParseError, &'static str)
IntFieldParseError(ParseIntError, &'static str)
Trait Implementations§
Source§impl Debug for TsvParseError
impl Debug for TsvParseError
Source§impl Display for TsvParseError
impl Display for TsvParseError
Source§impl Error for TsvParseError
impl Error for TsvParseError
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 From<Error> for TsvParseError
impl From<Error> for TsvParseError
Source§fn from(error: Error) -> TsvParseError
fn from(error: Error) -> TsvParseError
Converts to this type from the input type.
Source§impl From<ErrorContext<AddrParseError, &'static str>> for TsvParseError
impl From<ErrorContext<AddrParseError, &'static str>> for TsvParseError
Source§fn from(ec: ErrorContext<AddrParseError, &'static str>) -> TsvParseError
fn from(ec: ErrorContext<AddrParseError, &'static str>) -> TsvParseError
Converts to this type from the input type.
Source§impl From<ErrorContext<ParseIntError, &'static str>> for TsvParseError
impl From<ErrorContext<ParseIntError, &'static str>> for TsvParseError
Source§fn from(ec: ErrorContext<ParseIntError, &'static str>) -> TsvParseError
fn from(ec: ErrorContext<ParseIntError, &'static str>) -> TsvParseError
Converts to this type from the input type.
Source§impl From<TsvParseError> for DbError
impl From<TsvParseError> for DbError
Source§fn from(err: TsvParseError) -> DbError
fn from(err: TsvParseError) -> DbError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TsvParseError
impl !RefUnwindSafe for TsvParseError
impl Send for TsvParseError
impl Sync for TsvParseError
impl Unpin for TsvParseError
impl !UnwindSafe for TsvParseError
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