Struct parse_display::ParseError
source · pub struct ParseError(_);
Implementations§
source§impl ParseError
impl ParseError
sourcepub fn with_message(message: &'static str) -> Self
pub fn with_message(message: &'static str) -> Self
Trait Implementations§
source§impl Debug for ParseError
impl Debug for ParseError
source§impl Default for ParseError
impl Default for ParseError
source§impl Display for ParseError
impl Display for ParseError
source§impl Error for ParseError
impl Error for ParseError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
source§impl PartialEq<ParseError> for ParseError
impl PartialEq<ParseError> for ParseError
source§fn eq(&self, other: &ParseError) -> bool
fn eq(&self, other: &ParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.