pub enum EvalError {
Show 54 variants CharacterNotValidForEncoding(i32), CharacterTooLargeForEncoding(i32), DateBinOutOfRange(String), DivisionByZero, Unsupported { feature: String, issue_no: Option<usize>, }, FloatOverflow, FloatUnderflow, NumericFieldOverflow, Float32OutOfRange, Float64OutOfRange, Int16OutOfRange, Int32OutOfRange, Int64OutOfRange, OidOutOfRange, IntervalOutOfRange, TimestampOutOfRange, CharOutOfRange, IndexOutOfRange { provided: i32, valid_end: i32, }, InvalidBase64Equals, InvalidBase64Symbol(char), InvalidBase64EndSequence, InvalidTimezone(String), InvalidTimezoneInterval, InvalidTimezoneConversion, InvalidLayer { max_layer: 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, NullCharacterNotPermitted, UnknownUnits(String), UnsupportedUnits(StringString), UnterminatedLikeEscapeSequence, Parse(ParseError), ParseHex(ParseHexError), Internal(String), InfinityOutOfDomain(String), NegativeOutOfDomain(String), ZeroOutOfDomain(String), OutOfDomain(DomainLimit, DomainLimit, String), ComplexOutOfRange(String), MultipleRowsFromSubquery, Undefined(String), LikePatternTooLong, LikeEscapeTooLong, StringValueTooLong { target_type: String, length: usize, }, MultidimensionalArrayRemovalNotSupported, IncompatibleArrayDimensions { dims: Option<(usize, usize)>, }, TypeFromOid(String),
}

Variants

CharacterNotValidForEncoding(i32)

CharacterTooLargeForEncoding(i32)

DateBinOutOfRange(String)

DivisionByZero

Unsupported

Fields

feature: String
issue_no: Option<usize>

FloatOverflow

FloatUnderflow

NumericFieldOverflow

Float32OutOfRange

Float64OutOfRange

Int16OutOfRange

Int32OutOfRange

Int64OutOfRange

OidOutOfRange

IntervalOutOfRange

TimestampOutOfRange

CharOutOfRange

IndexOutOfRange

Fields

provided: i32
valid_end: i32

InvalidBase64Equals

InvalidBase64Symbol(char)

InvalidBase64EndSequence

InvalidTimezone(String)

InvalidTimezoneInterval

InvalidTimezoneConversion

InvalidLayer

Fields

max_layer: usize
val: i64

InvalidArray(InvalidArrayError)

InvalidEncodingName(String)

InvalidHashAlgorithm(String)

InvalidByteSequence

Fields

byte_sequence: String
encoding_name: String

InvalidJsonbCast

Fields

from: String
to: String

InvalidRegex(String)

InvalidRegexFlag(char)

InvalidParameterValue(String)

NegSqrt

NullCharacterNotPermitted

UnknownUnits(String)

UnsupportedUnits(StringString)

UnterminatedLikeEscapeSequence

Parse(ParseError)

ParseHex(ParseHexError)

Internal(String)

InfinityOutOfDomain(String)

NegativeOutOfDomain(String)

ZeroOutOfDomain(String)

OutOfDomain(DomainLimit, DomainLimit, String)

ComplexOutOfRange(String)

MultipleRowsFromSubquery

Undefined(String)

LikePatternTooLong

LikeEscapeTooLong

StringValueTooLong

Fields

target_type: String
length: usize

MultidimensionalArrayRemovalNotSupported

IncompatibleArrayDimensions

Fields

dims: Option<(usize, usize)>

TypeFromOid(String)

Implementations

Trait Implementations

The type of parameters that arbitrary_with accepts for configuration of the generated Strategy. Parameters must implement Default. Read more

The type of Strategy used to generate values of type Self. Read more

Generates a Strategy for producing arbitrary values of type the implementing type (Self). The strategy is passed the arguments given in args. Read more

Generates a Strategy for producing arbitrary values of type the implementing type (Self). Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Convert a Self into a Proto value.

Consume and convert a Proto back into a Self value. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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.

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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