Struct prost::DecodeError
[−]
[src]
pub struct DecodeError { /* fields omitted */ }
A Protobuf message decoding error.
DecodeError
indicates that the input buffer does not caontain a valid
Protobuf message. The error details should be considered 'best effort': in
general it is not possible to exactly pinpoint why data is malformed.
Trait Implementations
impl Clone for DecodeError
[src]
fn clone(&self) -> DecodeError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DecodeError
[src]
impl PartialEq for DecodeError
[src]
fn eq(&self, __arg_0: &DecodeError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DecodeError) -> bool
[src]
This method tests for !=
.
impl Eq for DecodeError
[src]
impl Display for DecodeError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more