pub(crate) enum ThriftProtocolError {
Eof,
IO(Error),
InvalidFieldType(u8),
InvalidElementType(u8),
FieldDeltaOverflow {
field_delta: u8,
last_field_id: i16,
},
InvalidBoolean(u8),
Utf8Error,
SkipDepth(FieldType),
SkipUnsupportedType(FieldType),
}
Variants§
Eof
IO(Error)
InvalidFieldType(u8)
InvalidElementType(u8)
FieldDeltaOverflow
InvalidBoolean(u8)
Utf8Error
SkipDepth(FieldType)
SkipUnsupportedType(FieldType)
Trait Implementations§
Source§impl Debug for ThriftProtocolError
impl Debug for ThriftProtocolError
Source§impl From<Error> for ThriftProtocolError
impl From<Error> for ThriftProtocolError
Source§impl From<ThriftProtocolError> for ParquetError
impl From<ThriftProtocolError> for ParquetError
Source§fn from(e: ThriftProtocolError) -> Self
fn from(e: ThriftProtocolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ThriftProtocolError
impl !RefUnwindSafe for ThriftProtocolError
impl Send for ThriftProtocolError
impl Sync for ThriftProtocolError
impl Unpin for ThriftProtocolError
impl !UnwindSafe for ThriftProtocolError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more