Enum protobuf::error::WireError[][src]

pub enum WireError {
    UnexpectedEof,
    UnexpectedWireType(WireType),
    IncorrectTag(u32),
    IncompleteMap,
    IncorrectVarint,
    Utf8Error,
    InvalidEnumValue(i32),
    OverRecursionLimit,
    TruncatedMessage,
    Other,
}

Enum values added here for diagnostic purposes. Users should not depend on specific values.

Variants

UnexpectedEof

Could not read complete message because stream is EOF

UnexpectedWireType(WireType)

Wrong wire type for given field

IncorrectTag(u32)

Incorrect tag value

IncompleteMap

Malformed map field

IncorrectVarint

Malformed varint

Utf8Error

String is not valid UTD-8

InvalidEnumValue(i32)

Enum value is unknown

OverRecursionLimit

Message is too nested

TruncatedMessage

Could not read complete message because stream is EOF

Other

Other error

Trait Implementations

impl Debug for WireError[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.