Enum seella::DbParsingError
source · pub enum DbParsingError {
NewSession(NewSessionError),
ScyllaQuery(QueryError),
FirstRow(FirstRowError),
RowsExpected(RowsExpectedError),
FromRow(FromRowError),
}
Expand description
The kinds of errors that can be experienced while parsing the data from the DB.
These are pretty much all just wrapping errors from scylla.
Variants§
NewSession(NewSessionError)
ScyllaQuery(QueryError)
FirstRow(FirstRowError)
RowsExpected(RowsExpectedError)
FromRow(FromRowError)
Trait Implementations§
source§impl Debug for DbParsingError
impl Debug for DbParsingError
source§impl Display for DbParsingError
impl Display for DbParsingError
source§impl Error for DbParsingError
impl Error for DbParsingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<FirstRowError> for DbParsingError
impl From<FirstRowError> for DbParsingError
source§fn from(source: FirstRowError) -> Self
fn from(source: FirstRowError) -> Self
Converts to this type from the input type.
source§impl From<FromRowError> for DbParsingError
impl From<FromRowError> for DbParsingError
source§impl From<NewSessionError> for DbParsingError
impl From<NewSessionError> for DbParsingError
source§impl From<QueryError> for DbParsingError
impl From<QueryError> for DbParsingError
source§impl From<RowsExpectedError> for DbParsingError
impl From<RowsExpectedError> for DbParsingError
source§fn from(source: RowsExpectedError) -> Self
fn from(source: RowsExpectedError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DbParsingError
impl Send for DbParsingError
impl Sync for DbParsingError
impl Unpin for DbParsingError
impl !UnwindSafe for DbParsingError
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