Enum scylla::frame::value::SerializeValuesError
source · pub enum SerializeValuesError {
TooManyValues,
MixingNamedAndNotNamedValues,
ValueTooBig(ValueTooBig),
ParseError,
}
👎Deprecated since 0.15.1: Legacy serialization API is not type-safe and is going to be removed soon
Variants§
TooManyValues
👎Deprecated since 0.15.1: Legacy serialization API is not type-safe and is going to be removed soon
MixingNamedAndNotNamedValues
👎Deprecated since 0.15.1: Legacy serialization API is not type-safe and is going to be removed soon
ValueTooBig(ValueTooBig)
👎Deprecated since 0.15.1: Legacy serialization API is not type-safe and is going to be removed soon
ParseError
👎Deprecated since 0.15.1: Legacy serialization API is not type-safe and is going to be removed soon
Trait Implementations§
source§impl Clone for SerializeValuesError
impl Clone for SerializeValuesError
source§fn clone(&self) -> SerializeValuesError
fn clone(&self) -> SerializeValuesError
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 SerializeValuesError
impl Debug for SerializeValuesError
source§impl Display for SerializeValuesError
impl Display for SerializeValuesError
source§impl Error for SerializeValuesError
impl Error for SerializeValuesError
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<SerializeValuesError> for BadQuery
impl From<SerializeValuesError> for BadQuery
source§fn from(source: SerializeValuesError) -> Self
fn from(source: SerializeValuesError) -> Self
Converts to this type from the input type.
source§impl From<SerializeValuesError> for QueryError
impl From<SerializeValuesError> for QueryError
source§fn from(serialized_err: SerializeValuesError) -> QueryError
fn from(serialized_err: SerializeValuesError) -> QueryError
Converts to this type from the input type.
source§impl From<ValueTooBig> for SerializeValuesError
impl From<ValueTooBig> for SerializeValuesError
source§fn from(source: ValueTooBig) -> SerializeValuesError
fn from(source: ValueTooBig) -> SerializeValuesError
Converts to this type from the input type.
source§impl Ord for SerializeValuesError
impl Ord for SerializeValuesError
source§fn cmp(&self, other: &SerializeValuesError) -> Ordering
fn cmp(&self, other: &SerializeValuesError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SerializeValuesError
impl PartialEq for SerializeValuesError
source§fn eq(&self, other: &SerializeValuesError) -> bool
fn eq(&self, other: &SerializeValuesError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SerializeValuesError
impl PartialOrd for SerializeValuesError
source§fn partial_cmp(&self, other: &SerializeValuesError) -> Option<Ordering>
fn partial_cmp(&self, other: &SerializeValuesError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SerializeValuesError
impl Eq for SerializeValuesError
impl StructuralPartialEq for SerializeValuesError
Auto Trait Implementations§
impl Freeze for SerializeValuesError
impl RefUnwindSafe for SerializeValuesError
impl Send for SerializeValuesError
impl Sync for SerializeValuesError
impl Unpin for SerializeValuesError
impl UnwindSafe for SerializeValuesError
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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