Type Alias std::string::ParseError
1.5.0 · source · pub type ParseError = Infallible;
Expand description
A type alias for Infallible
.
This alias exists for backwards compatibility, and may be eventually deprecated.
Aliased Type§
enum ParseError {}
Variants§
Trait Implementations§
1.34.0 · source§impl Clone for Infallible
impl Clone for Infallible
source§fn clone(&self) -> Infallible
fn clone(&self) -> Infallible
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 more1.34.0 · source§impl Debug for Infallible
impl Debug for Infallible
1.34.0 · source§impl Display for Infallible
impl Display for Infallible
1.8.0 · source§impl Error for Infallible
impl Error for Infallible
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
1.34.0 · source§impl From<!> for Infallible
impl From<!> for Infallible
source§fn from(x: !) -> Infallible
fn from(x: !) -> Infallible
Converts to this type from the input type.
1.44.0 · source§impl Hash for Infallible
impl Hash for Infallible
1.34.0 · source§impl Ord for Infallible
impl Ord for Infallible
source§fn cmp(&self, _other: &Infallible) -> Ordering
fn cmp(&self, _other: &Infallible) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
1.34.0 · source§impl PartialEq<Infallible> for Infallible
impl PartialEq<Infallible> for Infallible
source§fn eq(&self, _: &Infallible) -> bool
fn eq(&self, _: &Infallible) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.1.34.0 · source§impl PartialOrd<Infallible> for Infallible
impl PartialOrd<Infallible> for Infallible
source§fn partial_cmp(&self, _other: &Infallible) -> Option<Ordering>
fn partial_cmp(&self, _other: &Infallible) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more