Enum edgedb_protocol::errors::DecodeError [−][src]
#[non_exhaustive]
pub enum DecodeError {
Show 26 variants
Underflow {
backtrace: Backtrace,
},
ExtraData {
backtrace: Backtrace,
},
InvalidUtf8 {
backtrace: Backtrace,
source: Utf8Error,
},
AuthStatusInvalid {
backtrace: Backtrace,
auth_status: u32,
},
InvalidTransactionState {
backtrace: Backtrace,
transaction_state: u8,
},
InvalidIoFormat {
backtrace: Backtrace,
io_format: u8,
},
InvalidCardinality {
backtrace: Backtrace,
cardinality: u8,
},
InvalidAspect {
backtrace: Backtrace,
aspect: u8,
},
InvalidTypeDescriptor {
backtrace: Backtrace,
descriptor: u8,
},
InvalidUuid {
backtrace: Backtrace,
source: Error,
},
NonZeroReservedBytes {
backtrace: Backtrace,
},
ObjectSizeMismatch {
backtrace: Backtrace,
},
TupleSizeMismatch {
backtrace: Backtrace,
},
InvalidMarker {
backtrace: Backtrace,
},
InvalidSetShape {
backtrace: Backtrace,
},
InvalidArrayShape {
backtrace: Backtrace,
},
InvalidArrayOrSetShape {
backtrace: Backtrace,
},
BadSign {
backtrace: Backtrace,
},
InvalidBool {
backtrace: Backtrace,
},
InvalidDate {
backtrace: Backtrace,
},
InvalidJsonFormat {
backtrace: Backtrace,
},
ExtraEnumValue {
backtrace: Backtrace,
},
TooManyDescriptors {
backtrace: Backtrace,
index: usize,
},
UuidNotFound {
backtrace: Backtrace,
uuid: Uuid,
},
DecodeValue {
backtrace: Backtrace,
source: Box<dyn Error + Send + Sync>,
},
MissingRequiredElement {
backtrace: Backtrace,
},
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Fields of Underflow
backtrace: BacktraceFields of ExtraData
backtrace: BacktraceFields of NonZeroReservedBytes
backtrace: BacktraceFields of ObjectSizeMismatch
backtrace: BacktraceFields of TupleSizeMismatch
backtrace: BacktraceFields of InvalidMarker
backtrace: BacktraceFields of InvalidSetShape
backtrace: BacktraceFields of InvalidArrayShape
backtrace: BacktraceFields of InvalidArrayOrSetShape
backtrace: BacktraceFields of BadSign
backtrace: BacktraceFields of InvalidBool
backtrace: BacktraceFields of InvalidDate
backtrace: BacktraceFields of InvalidJsonFormat
backtrace: BacktraceFields of ExtraEnumValue
backtrace: BacktraceFields of MissingRequiredElement
backtrace: BacktraceTrait Implementations
use the Display impl or to_string()
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
impl<__T0> IntoError<DecodeError> for TooManyDescriptors<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<usize>,
impl<__T0> IntoError<DecodeError> for TooManyDescriptors<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<usize>,
Combine the information to produce the error
impl<__T0> IntoError<DecodeError> for UuidNotFound<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<Uuid>,
impl<__T0> IntoError<DecodeError> for UuidNotFound<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<Uuid>,
Combine the information to produce the error
Combine the information to produce the error
Combine the information to produce the error
impl<__T0> IntoError<DecodeError> for AuthStatusInvalid<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u32>,
impl<__T0> IntoError<DecodeError> for AuthStatusInvalid<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u32>,
Combine the information to produce the error
impl<__T0> IntoError<DecodeError> for InvalidTransactionState<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
impl<__T0> IntoError<DecodeError> for InvalidTransactionState<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
Combine the information to produce the error
impl<__T0> IntoError<DecodeError> for InvalidIoFormat<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
impl<__T0> IntoError<DecodeError> for InvalidIoFormat<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
Combine the information to produce the error
impl<__T0> IntoError<DecodeError> for InvalidCardinality<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
impl<__T0> IntoError<DecodeError> for InvalidCardinality<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
Combine the information to produce the error
impl<__T0> IntoError<DecodeError> for InvalidAspect<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
impl<__T0> IntoError<DecodeError> for InvalidAspect<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
Combine the information to produce the error
impl<__T0> IntoError<DecodeError> for InvalidTypeDescriptor<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
impl<__T0> IntoError<DecodeError> for InvalidTypeDescriptor<__T0> where
DecodeError: Error + ErrorCompat,
__T0: Into<u8>,
Combine the information to produce the error
Combine the information to produce the error