Enum scylla::cql_to_rust::FromRowError
source · pub enum FromRowError {
BadCqlVal {
err: FromCqlValError,
column: usize,
},
WrongRowSize {
expected: usize,
actual: usize,
},
}
👎Deprecated since 0.15.1: Legacy deserialization API is inefficient and is going to be removed soon
Variants§
BadCqlVal
👎Deprecated since 0.15.1: Legacy deserialization API is inefficient and is going to be removed soon
Fields
§
err: FromCqlValError
👎Deprecated since 0.15.1: Legacy deserialization API is inefficient and is going to be removed soon
WrongRowSize
👎Deprecated since 0.15.1: Legacy deserialization API is inefficient and is going to be removed soon
Trait Implementations§
source§impl Clone for FromRowError
impl Clone for FromRowError
source§fn clone(&self) -> FromRowError
fn clone(&self) -> FromRowError
Returns a copy of the value. Read more
1.0.0 · 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 FromRowError
impl Debug for FromRowError
source§impl Display for FromRowError
impl Display for FromRowError
source§impl Error for FromRowError
impl Error for FromRowError
1.30.0 · 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<FromRowError> for FirstRowTypedError
impl From<FromRowError> for FirstRowTypedError
source§fn from(source: FromRowError) -> Self
fn from(source: FromRowError) -> Self
Converts to this type from the input type.
source§impl From<FromRowError> for LegacyNextRowError
impl From<FromRowError> for LegacyNextRowError
source§fn from(source: FromRowError) -> Self
fn from(source: FromRowError) -> Self
Converts to this type from the input type.
source§impl From<FromRowError> for MaybeFirstRowTypedError
impl From<FromRowError> for MaybeFirstRowTypedError
source§fn from(source: FromRowError) -> Self
fn from(source: FromRowError) -> Self
Converts to this type from the input type.
source§impl From<FromRowError> for SingleRowTypedError
impl From<FromRowError> for SingleRowTypedError
source§fn from(source: FromRowError) -> Self
fn from(source: FromRowError) -> Self
Converts to this type from the input type.
source§impl PartialEq for FromRowError
impl PartialEq for FromRowError
source§fn eq(&self, other: &FromRowError) -> bool
fn eq(&self, other: &FromRowError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FromRowError
impl StructuralPartialEq for FromRowError
Auto Trait Implementations§
impl Freeze for FromRowError
impl RefUnwindSafe for FromRowError
impl Send for FromRowError
impl Sync for FromRowError
impl Unpin for FromRowError
impl UnwindSafe for FromRowError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more