pub enum SingleSelectQueryErrorTransform {
UniqueQueryRowTransformError(UniqueQueryRowTransformError),
QueryError(QueryError),
}
Expand description
This error can be thrown when a row is queried, but an error occurred
Variants§
UniqueQueryRowTransformError(UniqueQueryRowTransformError)
QueryError(QueryError)
Trait Implementations§
Source§impl Clone for SingleSelectQueryErrorTransform
impl Clone for SingleSelectQueryErrorTransform
Source§fn clone(&self) -> SingleSelectQueryErrorTransform
fn clone(&self) -> SingleSelectQueryErrorTransform
Returns a duplicate 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 From<QueryError> for SingleSelectQueryErrorTransform
impl From<QueryError> for SingleSelectQueryErrorTransform
Source§fn from(u: QueryError) -> Self
fn from(u: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<SerializeValuesError> for SingleSelectQueryErrorTransform
impl From<SerializeValuesError> for SingleSelectQueryErrorTransform
Source§fn from(u: SerializeValuesError) -> Self
fn from(u: SerializeValuesError) -> Self
Converts to this type from the input type.
Source§impl From<UniqueQueryRowTransformError> for SingleSelectQueryErrorTransform
impl From<UniqueQueryRowTransformError> for SingleSelectQueryErrorTransform
Source§fn from(u: UniqueQueryRowTransformError) -> Self
fn from(u: UniqueQueryRowTransformError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for SingleSelectQueryErrorTransform
impl !RefUnwindSafe for SingleSelectQueryErrorTransform
impl Send for SingleSelectQueryErrorTransform
impl Sync for SingleSelectQueryErrorTransform
impl Unpin for SingleSelectQueryErrorTransform
impl !UnwindSafe for SingleSelectQueryErrorTransform
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<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