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(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,
LikeEscapeTooLong,
StringValueTooLong {
target_type: String,
length: usize,
},
MultidimensionalArrayRemovalNotSupported,
IncompatibleArrayDimensions {
dims: Option<(usize, usize)>,
},
TypeFromOid(String),
}
Variants
CharacterNotValidForEncoding(i32)
CharacterTooLargeForEncoding(i32)
DateBinOutOfRange(String)
DivisionByZero
Unsupported
FloatOverflow
FloatUnderflow
NumericFieldOverflow
Float32OutOfRange
Float64OutOfRange
Int16OutOfRange
Int32OutOfRange
Int64OutOfRange
OidOutOfRange
IntervalOutOfRange
TimestampOutOfRange
CharOutOfRange
IndexOutOfRange
InvalidBase64Equals
InvalidBase64Symbol(char)
InvalidBase64EndSequence
InvalidTimezone(String)
InvalidTimezoneInterval
InvalidTimezoneConversion
InvalidLayer
InvalidArray(InvalidArrayError)
InvalidEncodingName(String)
InvalidHashAlgorithm(String)
InvalidByteSequence
InvalidJsonbCast
InvalidRegex(String)
InvalidRegexFlag(char)
InvalidParameterValue(String)
NegSqrt
NullCharacterNotPermitted
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
LikeEscapeTooLong
StringValueTooLong
MultidimensionalArrayRemovalNotSupported
IncompatibleArrayDimensions
TypeFromOid(String)
Implementations
Trait Implementations
sourceimpl Arbitrary for EvalError
impl Arbitrary for EvalError
type Parameters = (<i32 as Arbitrary>::Parameters, <i32 as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<String as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters), (<i32 as Arbitrary>::Parameters, <i32 as Arbitrary>::Parameters), <char as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<usize as Arbitrary>::Parameters, <i64 as Arbitrary>::Parameters), <InvalidArrayError as Arbitrary>::Parameters, (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters), (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters), <String as Arbitrary>::Parameters, <char as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters), (<ParseError as Arbitrary>::Parameters, <ParseHexError as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<DomainLimit as Arbitrary>::Parameters, <DomainLimit as Arbitrary>::Parameters, <String as Arbitrary>::Parameters), <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, ((<String as Arbitrary>::Parameters, <usize as Arbitrary>::Parameters), <Option<(usize, usize)> as Arbitrary>::Parameters, <String as Arbitrary>::Parameters))))
type Parameters = (<i32 as Arbitrary>::Parameters, <i32 as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<String as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters), (<i32 as Arbitrary>::Parameters, <i32 as Arbitrary>::Parameters), <char as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<usize as Arbitrary>::Parameters, <i64 as Arbitrary>::Parameters), <InvalidArrayError as Arbitrary>::Parameters, (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters), (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters), <String as Arbitrary>::Parameters, <char as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters), (<ParseError as Arbitrary>::Parameters, <ParseHexError as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, (<DomainLimit as Arbitrary>::Parameters, <DomainLimit as Arbitrary>::Parameters, <String as Arbitrary>::Parameters), <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, ((<String as Arbitrary>::Parameters, <usize as Arbitrary>::Parameters), <Option<(usize, usize)> as Arbitrary>::Parameters, <String as Arbitrary>::Parameters))))
The type of parameters that arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
. Read more
type Strategy = TupleUnion<((u32, Arc<Map<<i32 as Arbitrary>::Strategy, fn(_: i32) -> Self>>), (u32, Arc<Map<<i32 as Arbitrary>::Strategy, fn(_: i32) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<(<String as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy), fn(_: (String, Option<usize>)) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<TupleUnion<((u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<(<i32 as Arbitrary>::Strategy, <i32 as Arbitrary>::Strategy), fn(_: (i32, i32)) -> Self>>), (u32, Arc<TupleUnion<((u32, Arc<fn() -> Self>), (u32, Arc<Map<<char as Arbitrary>::Strategy, fn(_: char) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<(<usize as Arbitrary>::Strategy, <i64 as Arbitrary>::Strategy), fn(_: (usize, i64)) -> Self>>), (u32, Arc<Map<<InvalidArrayError as Arbitrary>::Strategy, fn(_: InvalidArrayError) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<TupleUnion<((u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy), fn(_: (String, String)) -> Self>>), (u32, Arc<Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy), fn(_: (String, String)) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<<char as Arbitrary>::Strategy, fn(_: char) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<TupleUnion<((u32, Arc<Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy), fn(_: (String, String)) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<ParseError as Arbitrary>::Strategy, fn(_: ParseError) -> Self>>), (u32, Arc<Map<<ParseHexError as Arbitrary>::Strategy, fn(_: ParseHexError) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<(<DomainLimit as Arbitrary>::Strategy, <DomainLimit as Arbitrary>::Strategy, <String as Arbitrary>::Strategy), fn(_: (DomainLimit, DomainLimit, String)) -> Self>>), (u32, Arc<TupleUnion<((u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<(<String as Arbitrary>::Strategy, <usize as Arbitrary>::Strategy), fn(_: (String, usize)) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<Option<(usize, usize)> as Arbitrary>::Strategy, fn(_: Option<(usize, usize)>) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>))>>))>>))>>))>>))>>))>
type Strategy = TupleUnion<((u32, Arc<Map<<i32 as Arbitrary>::Strategy, fn(_: i32) -> Self>>), (u32, Arc<Map<<i32 as Arbitrary>::Strategy, fn(_: i32) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<(<String as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy), fn(_: (String, Option<usize>)) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<TupleUnion<((u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<(<i32 as Arbitrary>::Strategy, <i32 as Arbitrary>::Strategy), fn(_: (i32, i32)) -> Self>>), (u32, Arc<TupleUnion<((u32, Arc<fn() -> Self>), (u32, Arc<Map<<char as Arbitrary>::Strategy, fn(_: char) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<(<usize as Arbitrary>::Strategy, <i64 as Arbitrary>::Strategy), fn(_: (usize, i64)) -> Self>>), (u32, Arc<Map<<InvalidArrayError as Arbitrary>::Strategy, fn(_: InvalidArrayError) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<TupleUnion<((u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy), fn(_: (String, String)) -> Self>>), (u32, Arc<Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy), fn(_: (String, String)) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<<char as Arbitrary>::Strategy, fn(_: char) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<TupleUnion<((u32, Arc<Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy), fn(_: (String, String)) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<ParseError as Arbitrary>::Strategy, fn(_: ParseError) -> Self>>), (u32, Arc<Map<<ParseHexError as Arbitrary>::Strategy, fn(_: ParseHexError) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<Map<(<DomainLimit as Arbitrary>::Strategy, <DomainLimit as Arbitrary>::Strategy, <String as Arbitrary>::Strategy), fn(_: (DomainLimit, DomainLimit, String)) -> Self>>), (u32, Arc<TupleUnion<((u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<(<String as Arbitrary>::Strategy, <usize as Arbitrary>::Strategy), fn(_: (String, usize)) -> Self>>), (u32, Arc<fn() -> Self>), (u32, Arc<Map<<Option<(usize, usize)> as Arbitrary>::Strategy, fn(_: Option<(usize, usize)>) -> Self>>), (u32, Arc<Map<<String as Arbitrary>::Strategy, fn(_: String) -> Self>>))>>))>>))>>))>>))>>))>
sourcefn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
sourceimpl<'de> Deserialize<'de> for EvalError
impl<'de> Deserialize<'de> for EvalError
sourcefn 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
sourceimpl Error for EvalError
impl Error for EvalError
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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<InvalidArrayError> for EvalError
impl From<InvalidArrayError> for EvalError
sourcefn from(e: InvalidArrayError) -> EvalError
fn from(e: InvalidArrayError) -> EvalError
Converts to this type from the input type.
sourceimpl From<ParseError> for EvalError
impl From<ParseError> for EvalError
sourcefn from(e: ParseError) -> EvalError
fn from(e: ParseError) -> EvalError
Converts to this type from the input type.
sourceimpl From<ParseHexError> for EvalError
impl From<ParseHexError> for EvalError
sourcefn from(e: ParseHexError) -> EvalError
fn from(e: ParseHexError) -> EvalError
Converts to this type from the input type.
sourceimpl From<TypeFromOidError> for EvalError
impl From<TypeFromOidError> for EvalError
sourcefn from(e: TypeFromOidError) -> EvalError
fn from(e: TypeFromOidError) -> EvalError
Converts to this type from the input type.
sourceimpl MzReflect for EvalError
impl MzReflect for EvalError
sourcefn add_to_reflected_type_info(rti: &mut ReflectedTypeInfo)
fn add_to_reflected_type_info(rti: &mut ReflectedTypeInfo)
Adds names and types of the fields of the struct or enum to rti
. Read more
sourceimpl Ord for EvalError
impl Ord for EvalError
sourceimpl PartialOrd<EvalError> for EvalError
impl PartialOrd<EvalError> for EvalError
sourcefn partial_cmp(&self, other: &EvalError) -> Option<Ordering>
fn partial_cmp(&self, other: &EvalError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl RustType<ProtoEvalError> for EvalError
impl RustType<ProtoEvalError> for EvalError
sourcefn into_proto(&self) -> ProtoEvalError
fn into_proto(&self) -> ProtoEvalError
Convert a Self
into a Proto
value.
sourcefn from_proto(proto: ProtoEvalError) -> Result<Self, TryFromProtoError>
fn from_proto(proto: ProtoEvalError) -> Result<Self, TryFromProtoError>
Consume and convert a Proto
back into a Self
value. Read more
impl Eq for EvalError
impl StructuralEq for EvalError
impl StructuralPartialEq for EvalError
Auto Trait Implementations
impl RefUnwindSafe for EvalError
impl Send for EvalError
impl Sync for EvalError
impl Unpin for EvalError
impl UnwindSafe for EvalError
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
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> DisplayExt for T where
T: Display,
impl<T> DisplayExt for T where
T: Display,
sourcefn to_string_alt(&self) -> String
fn to_string_alt(&self) -> String
Formats an object with the “alternative” format ({:#}
) and returns it.
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> FutureExt for T
impl<T> FutureExt for T
sourcefn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
sourcefn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
sourceimpl<T> ProgressEventTimestamp for T where
T: Data + Debug + Any,
impl<T> ProgressEventTimestamp for T where
T: Data + Debug + Any,
sourceimpl<P, R> ProtoType<R> for P where
R: RustType<P>,
impl<P, R> ProtoType<R> for P where
R: RustType<P>,
sourcefn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See RustType::from_proto
.
sourcefn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See RustType::into_proto
.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more