Enum protobuf::error::ProtobufError [−][src]
pub enum ProtobufError { IoError(Error), WireError(WireError), Utf8(Utf8Error), MessageNotInitialized { message: &'static str, }, }
Generic protobuf error
Variants
IoError(Error)
I/O error when reading or writing
WireError(WireError)
Malformed input
Utf8(Utf8Error)
Protocol contains a string which is not valid UTF-8 string
Not all required fields set
Show fields
Fields of MessageNotInitialized
message: &'static str
Message name
Trait Implementations
impl Error for ProtobufError
[src]
impl Error for ProtobufError
[src]Auto Trait Implementations
impl !RefUnwindSafe for ProtobufError
impl !RefUnwindSafe for ProtobufError
impl Send for ProtobufError
impl Send for ProtobufError
impl Sync for ProtobufError
impl Sync for ProtobufError
impl Unpin for ProtobufError
impl Unpin for ProtobufError
impl !UnwindSafe for ProtobufError
impl !UnwindSafe for ProtobufError