pub enum TypingError {
Unsupported(Unsupported),
Unresolved(Unresolved),
InvalidVar(InvalidVar),
InsertValues(InsertValuesError),
InsertFields(InsertFieldsError),
ParseError(SqlParseError),
InvalidOp(InvalidOp),
Literal(InvalidLiteral),
Unexpected(UnexpectedType),
Wildcard(InvalidWildcard),
DuplicateName(DuplicateName),
FilterReturnType(FilterReturnType),
}Variants§
Unsupported(Unsupported)
Unresolved(Unresolved)
InvalidVar(InvalidVar)
InsertValues(InsertValuesError)
InsertFields(InsertFieldsError)
ParseError(SqlParseError)
InvalidOp(InvalidOp)
Literal(InvalidLiteral)
Unexpected(UnexpectedType)
Wildcard(InvalidWildcard)
DuplicateName(DuplicateName)
FilterReturnType(FilterReturnType)
Trait Implementations§
Source§impl Debug for TypingError
impl Debug for TypingError
Source§impl Display for TypingError
impl Display for TypingError
Source§impl Error for TypingError
impl Error for TypingError
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<DuplicateName> for TypingError
impl From<DuplicateName> for TypingError
Source§fn from(source: DuplicateName) -> Self
fn from(source: DuplicateName) -> Self
Converts to this type from the input type.
Source§impl From<FilterReturnType> for TypingError
impl From<FilterReturnType> for TypingError
Source§fn from(source: FilterReturnType) -> Self
fn from(source: FilterReturnType) -> Self
Converts to this type from the input type.
Source§impl From<InsertFieldsError> for TypingError
impl From<InsertFieldsError> for TypingError
Source§fn from(source: InsertFieldsError) -> Self
fn from(source: InsertFieldsError) -> Self
Converts to this type from the input type.
Source§impl From<InsertValuesError> for TypingError
impl From<InsertValuesError> for TypingError
Source§fn from(source: InsertValuesError) -> Self
fn from(source: InsertValuesError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidLiteral> for TypingError
impl From<InvalidLiteral> for TypingError
Source§fn from(source: InvalidLiteral) -> Self
fn from(source: InvalidLiteral) -> Self
Converts to this type from the input type.
Source§impl From<InvalidOp> for TypingError
impl From<InvalidOp> for TypingError
Source§impl From<InvalidVar> for TypingError
impl From<InvalidVar> for TypingError
Source§fn from(source: InvalidVar) -> Self
fn from(source: InvalidVar) -> Self
Converts to this type from the input type.
Source§impl From<InvalidWildcard> for TypingError
impl From<InvalidWildcard> for TypingError
Source§fn from(source: InvalidWildcard) -> Self
fn from(source: InvalidWildcard) -> Self
Converts to this type from the input type.
Source§impl From<SqlParseError> for TypingError
impl From<SqlParseError> for TypingError
Source§fn from(source: SqlParseError) -> Self
fn from(source: SqlParseError) -> Self
Converts to this type from the input type.
Source§impl From<UnexpectedType> for TypingError
impl From<UnexpectedType> for TypingError
Source§fn from(source: UnexpectedType) -> Self
fn from(source: UnexpectedType) -> Self
Converts to this type from the input type.
Source§impl From<Unresolved> for TypingError
impl From<Unresolved> for TypingError
Source§fn from(source: Unresolved) -> Self
fn from(source: Unresolved) -> Self
Converts to this type from the input type.
Source§impl From<Unsupported> for TypingError
impl From<Unsupported> for TypingError
Source§fn from(source: Unsupported) -> Self
fn from(source: Unsupported) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypingError
impl RefUnwindSafe for TypingError
impl Send for TypingError
impl Sync for TypingError
impl Unpin for TypingError
impl UnwindSafe for TypingError
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> 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