Struct prost_amino::error::DecodeError [−][src]
pub struct DecodeError { /* fields omitted */ }
A Protobuf message decoding error.
DecodeError
indicates that the input buffer does not contain 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]
impl Clone for DecodeError
fn clone(&self) -> DecodeError
[src]
fn clone(&self) -> DecodeError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for DecodeError
[src]
impl Debug for DecodeError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DecodeError
[src]
impl PartialEq for DecodeError
fn eq(&self, other: &DecodeError) -> bool
[src]
fn eq(&self, other: &DecodeError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DecodeError) -> bool
[src]
fn ne(&self, other: &DecodeError) -> bool
This method tests for !=
.
impl Eq for DecodeError
[src]
impl Eq for DecodeError
impl Display for DecodeError
[src]
impl Display for DecodeError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for DecodeError
[src]
impl Error for DecodeError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<DecodeError> for Error
[src]
impl From<DecodeError> for Error
fn from(error: DecodeError) -> Error
[src]
fn from(error: DecodeError) -> Error
Performs the conversion.
Auto Trait Implementations
impl Send for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Sync for DecodeError