Enum foundationdb::tuple::Error
source · pub enum Error {
EOF,
InvalidType {
value: u8,
},
InvalidData,
FromUtf8Error(FromUtf8Error),
}
Expand description
Tuple encoding/decoding related errors
Variants§
EOF
Unexpected end of the byte stream
InvalidType
Invalid type specified
InvalidData
Data was not valid for the specified type
FromUtf8Error(FromUtf8Error)
Utf8 Conversion error of tuple data
Trait Implementations§
source§impl Fail for Error
impl Fail for Error
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresource§impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
source§fn from(error: FromUtf8Error) -> Self
fn from(error: FromUtf8Error) -> Self
Converts to this type from the input type.