Enum ckb_fixed_hash::error::FromStrError
source · pub enum FromStrError {
InvalidCharacter {
chr: u8,
idx: usize,
},
InvalidLength(usize),
}
Expand description
The associated error of FromStr
which can be returned from parsing a string.
Variants§
Trait Implementations§
source§impl Debug for FromStrError
impl Debug for FromStrError
source§impl Display for FromStrError
impl Display for FromStrError
source§impl Error for FromStrError
impl Error for FromStrError
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 PartialEq<FromStrError> for FromStrError
impl PartialEq<FromStrError> for FromStrError
source§fn eq(&self, other: &FromStrError) -> bool
fn eq(&self, other: &FromStrError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.