Enum expr::scalar::EvalError [−][src]
pub enum EvalError {
Show 47 variants
DateBinOutOfRange(String),
DivisionByZero,
Unsupported {
feature: String,
issue_no: Option<usize>,
},
FloatOverflow,
FloatUnderflow,
NumericFieldOverflow,
Float32OutOfRange,
Float64OutOfRange,
Int16OutOfRange,
Int32OutOfRange,
Int64OutOfRange,
OidOutOfRange,
IntervalOutOfRange,
TimestampOutOfRange,
InvalidBase64Equals,
InvalidBase64Symbol(char),
InvalidBase64EndSequence,
InvalidTimezone(String),
InvalidTimezoneInterval,
InvalidTimezoneConversion,
InvalidDimension {
max_dim: usize,
val: i64,
},
InvalidArray(InvalidArrayError),
InvalidEncodingName(String),
InvalidHashAlgorithm(String),
InvalidByteSequence {
byte_sequence: String,
encoding_name: String,
},
InvalidJsonbCast {
from: String,
to: String,
},
InvalidRegex(String),
InvalidRegexFlag(char),
InvalidParameterValue(String),
NegSqrt,
UnknownUnits(String),
UnsupportedUnits(String, String),
UnterminatedLikeEscapeSequence,
Parse(ParseError),
ParseHex(ParseHexError),
Internal(String),
InfinityOutOfDomain(String),
NegativeOutOfDomain(String),
ZeroOutOfDomain(String),
OutOfDomain(DomainLimit, DomainLimit, String),
ComplexOutOfRange(String),
MultipleRowsFromSubquery,
Undefined(String),
LikePatternTooLong,
StringValueTooLong {
target_type: String,
length: usize,
},
MultidimensionalArrayRemovalNotSupported,
IncompatibleArrayDimensions {
dims: Option<(usize, usize)>,
},
}
Variants
DateBinOutOfRange(String)
Tuple Fields
0: String
DivisionByZero
Unsupported
FloatOverflow
FloatUnderflow
NumericFieldOverflow
Float32OutOfRange
Float64OutOfRange
Int16OutOfRange
Int32OutOfRange
Int64OutOfRange
OidOutOfRange
IntervalOutOfRange
TimestampOutOfRange
InvalidBase64Equals
InvalidBase64Symbol(char)
Tuple Fields
0: char
InvalidBase64EndSequence
InvalidTimezone(String)
Tuple Fields
0: String
InvalidTimezoneInterval
InvalidTimezoneConversion
InvalidDimension
InvalidArray(InvalidArrayError)
Tuple Fields
InvalidEncodingName(String)
Tuple Fields
0: String
InvalidHashAlgorithm(String)
Tuple Fields
0: String
InvalidByteSequence
InvalidJsonbCast
InvalidRegex(String)
Tuple Fields
0: String
InvalidRegexFlag(char)
Tuple Fields
0: char
InvalidParameterValue(String)
Tuple Fields
0: String
NegSqrt
UnknownUnits(String)
Tuple Fields
0: String
UnsupportedUnits(String, String)
UnterminatedLikeEscapeSequence
Parse(ParseError)
Tuple Fields
0: ParseError
ParseHex(ParseHexError)
Tuple Fields
Internal(String)
Tuple Fields
0: String
InfinityOutOfDomain(String)
Tuple Fields
0: String
NegativeOutOfDomain(String)
Tuple Fields
0: String
ZeroOutOfDomain(String)
Tuple Fields
0: String
OutOfDomain(DomainLimit, DomainLimit, String)
ComplexOutOfRange(String)
Tuple Fields
0: String
MultipleRowsFromSubquery
Undefined(String)
Tuple Fields
0: String
LikePatternTooLong
StringValueTooLong
MultidimensionalArrayRemovalNotSupported
IncompatibleArrayDimensions
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Adds names and types of the fields of the struct or enum to rti
. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for EvalError
impl UnwindSafe for EvalError
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more