pub enum BufanyError {
InvalidTag,
InvalidFieldNumber,
UnsupportedWireType(u8),
ErrorDecodingVarint,
UnexpectedEndOfData,
}Variants§
InvalidTag
Found tag that is either not valid protobuf or unsuppored
InvalidFieldNumber
Field number must be between 1 and 536,870,911
UnsupportedWireType(u8)
ErrorDecodingVarint
UnexpectedEndOfData
The remaining data is not long enough to read the expected length
Trait Implementations§
Source§impl Debug for BufanyError
impl Debug for BufanyError
Source§impl Display for BufanyError
impl Display for BufanyError
Source§impl Error for BufanyError
Available on crate feature std only.
impl Error for BufanyError
Available on crate feature
std only.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 PartialEq for BufanyError
impl PartialEq for BufanyError
impl StructuralPartialEq for BufanyError
Auto Trait Implementations§
impl Freeze for BufanyError
impl RefUnwindSafe for BufanyError
impl Send for BufanyError
impl Sync for BufanyError
impl Unpin for BufanyError
impl UnsafeUnpin for BufanyError
impl UnwindSafe for BufanyError
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