Enum microservices::error::DataParseError
source · pub enum DataParseError {
UnknownFormat,
NotSupported(String),
}
Variants§
UnknownFormat
Unknown format of the data required to parse
NotSupported(String)
format of the data is not supported
Trait Implementations§
source§impl Clone for DataParseError
impl Clone for DataParseError
source§fn clone(&self) -> DataParseError
fn clone(&self) -> DataParseError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DataParseError
impl Debug for DataParseError
source§impl Display for DataParseError
impl Display for DataParseError
source§impl Error for DataParseError
impl Error for DataParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DataParseError> for String
impl From<DataParseError> for String
source§fn from(err: DataParseError) -> Self
fn from(err: DataParseError) -> Self
Converts to this type from the input type.
source§impl Hash for DataParseError
impl Hash for DataParseError
source§impl PartialEq<DataParseError> for DataParseError
impl PartialEq<DataParseError> for DataParseError
source§fn eq(&self, other: &DataParseError) -> bool
fn eq(&self, other: &DataParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.