pub enum ThriftError {
InvalidNumber,
InvalidString,
InvalidBinaryLen,
InvalidCollectionLen,
MissingField(FieldName),
MissingValue,
MissingStop,
DuplicateField,
InvalidType,
ReserveError,
IO(ErrorKind),
}Variants§
InvalidNumber
InvalidString
InvalidBinaryLen
InvalidCollectionLen
MissingField(FieldName)
MissingValue
MissingStop
DuplicateField
InvalidType
ReserveError
IO(ErrorKind)
Trait Implementations§
Source§impl Clone for ThriftError
impl Clone for ThriftError
Source§fn clone(&self) -> ThriftError
fn clone(&self) -> ThriftError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThriftError
impl Debug for ThriftError
Source§impl Display for ThriftError
impl Display for ThriftError
Source§impl Error for ThriftError
impl Error for ThriftError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for ThriftError
impl From<Error> for ThriftError
Auto Trait Implementations§
impl Freeze for ThriftError
impl RefUnwindSafe for ThriftError
impl Send for ThriftError
impl Sync for ThriftError
impl Unpin for ThriftError
impl UnwindSafe for ThriftError
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