Enum gluesql_core::data::LiteralError
source · [−]pub enum LiteralError {
UnsupportedBinaryArithmetic(String, String),
DivisorShouldNotBeZero,
UnaryOperationOnNonNumeric,
UnreachableBinaryArithmetic,
UnreachableUnaryOperation,
FailedToDecodeHexString(String),
LikeOnNonString(String, String),
CannotExtract,
}Variants
UnsupportedBinaryArithmetic(String, String)
DivisorShouldNotBeZero
UnaryOperationOnNonNumeric
UnreachableBinaryArithmetic
UnreachableUnaryOperation
FailedToDecodeHexString(String)
LikeOnNonString(String, String)
CannotExtract
Trait Implementations
sourceimpl Debug for LiteralError
impl Debug for LiteralError
sourceimpl Display for LiteralError
impl Display for LiteralError
sourceimpl Error for LiteralError
impl Error for LiteralError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<LiteralError> for Error
impl From<LiteralError> for Error
sourcefn from(source: LiteralError) -> Self
fn from(source: LiteralError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<LiteralError> for LiteralError
impl PartialEq<LiteralError> for LiteralError
sourcefn eq(&self, other: &LiteralError) -> bool
fn eq(&self, other: &LiteralError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Serialize for LiteralError
impl Serialize for LiteralError
impl StructuralPartialEq for LiteralError
Auto Trait Implementations
impl RefUnwindSafe for LiteralError
impl Send for LiteralError
impl Sync for LiteralError
impl Unpin for LiteralError
impl UnwindSafe for LiteralError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more