pub enum SqlParseError {
SqlUnsupported(SqlUnsupported),
SubscriptionUnsupported(SubscriptionUnsupported),
SqlRequired(SqlRequired),
ParserError(ParserError),
}Variants§
SqlUnsupported(SqlUnsupported)
SubscriptionUnsupported(SubscriptionUnsupported)
SqlRequired(SqlRequired)
ParserError(ParserError)
Trait Implementations§
Source§impl Debug for SqlParseError
impl Debug for SqlParseError
Source§impl Display for SqlParseError
impl Display for SqlParseError
Source§impl Error for SqlParseError
impl Error for SqlParseError
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<ParserError> for SqlParseError
impl From<ParserError> for SqlParseError
Source§fn from(source: ParserError) -> Self
fn from(source: ParserError) -> Self
Converts to this type from the input type.
Source§impl From<SqlRequired> for SqlParseError
impl From<SqlRequired> for SqlParseError
Source§fn from(source: SqlRequired) -> Self
fn from(source: SqlRequired) -> Self
Converts to this type from the input type.
Source§impl From<SqlUnsupported> for SqlParseError
impl From<SqlUnsupported> for SqlParseError
Source§fn from(source: SqlUnsupported) -> Self
fn from(source: SqlUnsupported) -> Self
Converts to this type from the input type.
Source§impl From<SubscriptionUnsupported> for SqlParseError
impl From<SubscriptionUnsupported> for SqlParseError
Source§fn from(source: SubscriptionUnsupported) -> Self
fn from(source: SubscriptionUnsupported) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SqlParseError
impl RefUnwindSafe for SqlParseError
impl Send for SqlParseError
impl Sync for SqlParseError
impl Unpin for SqlParseError
impl UnwindSafe for SqlParseError
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