Enum protobuf::error::ProtobufError [] [src]

pub enum ProtobufError {
    IoError(Error),
    WireError(String),
    MessageNotInitialized {
        message: &'static str,
    },
}

Variants

IoError(Error)WireError(String)MessageNotInitialized

Fields

message: &'static str

Methods

impl ProtobufError
[src]

fn message_not_initialized(message: &'static str) -> ProtobufError

Trait Implementations

impl Debug for ProtobufError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for ProtobufError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

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