pub enum SerializeValuesError {
TooManyValues,
MixingNamedAndNotNamedValues,
ValueTooBig(ValueTooBig),
ParseError,
}
Variants§
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)>
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<SerializeValuesError> for BadQuery
impl From<SerializeValuesError> for BadQuery
Source§fn from(source: SerializeValuesError) -> BadQuery
fn from(source: SerializeValuesError) -> BadQuery
Converts to this type from the input type.
Source§impl From<SerializeValuesError> for ParseError
impl From<SerializeValuesError> for ParseError
Source§fn from(source: SerializeValuesError) -> ParseError
fn from(source: SerializeValuesError) -> ParseError
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§impl PartialOrd for SerializeValuesError
impl PartialOrd for SerializeValuesError
impl 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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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