Enum protobuf::error::ProtobufError
[−]
[src]
pub enum ProtobufError {
IoError(Error),
WireError(String),
MessageNotInitialized {
message: &'static str,
},
}Variants
IoError(Error)WireError(String)MessageNotInitializedFields of MessageNotInitialized
message: &'static str |
Methods
impl ProtobufError[src]
fn message_not_initialized(message: &'static str) -> ProtobufError
Trait Implementations
impl Debug for ProtobufError[src]
impl Display for ProtobufError[src]
impl Error for ProtobufError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more