Enum protobuf::error::WireError [−][src]
Enum values added here for diagnostic purposes. Users should not depend on specific values.
Variants
Could not read complete message because stream is EOF
UnexpectedWireType(WireType)
Wrong wire type for given field
IncorrectTag(u32)
Incorrect tag value
Malformed map field
Malformed varint
String is not valid UTD-8
InvalidEnumValue(i32)
Enum value is unknown
Message is too nested
Could not read complete message because stream is EOF
Other error
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WireError
impl Send for WireError
impl Sync for WireError
impl Unpin for WireError
impl UnwindSafe for WireError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,