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: Backtrace
Fields of ExtraData
backtrace: Backtrace
Fields of NonZeroReservedBytes
backtrace: Backtrace
Fields of ObjectSizeMismatch
backtrace: Backtrace
Fields of TupleSizeMismatch
backtrace: Backtrace
Fields of InvalidMarker
backtrace: Backtrace
Fields of InvalidSetShape
backtrace: Backtrace
Fields of InvalidArrayShape
backtrace: Backtrace
Fields of InvalidArrayOrSetShape
backtrace: Backtrace
Fields of BadSign
backtrace: Backtrace
Fields of InvalidBool
backtrace: Backtrace
Fields of InvalidDate
backtrace: Backtrace
Fields of InvalidJsonFormat
backtrace: Backtrace
Fields of ExtraEnumValue
backtrace: Backtrace
Fields of MissingRequiredElement
backtrace: Backtrace
Trait 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