Enum everscale_types::error::ParseAddrError
source · pub enum ParseAddrError {
Empty,
InvalidWorkchain,
InvalidAccountId,
UnexpectedPart,
}Expand description
Error type for address parsing related errors.
Variants§
Empty
Tried to parse an empty string.
InvalidWorkchain
Workchain id is too large.
InvalidAccountId
Invalid account id hex.
UnexpectedPart
Too many address parts.
Trait Implementations§
source§impl Clone for ParseAddrError
impl Clone for ParseAddrError
source§fn clone(&self) -> ParseAddrError
fn clone(&self) -> ParseAddrError
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 ParseAddrError
impl Debug for ParseAddrError
source§impl Display for ParseAddrError
impl Display for ParseAddrError
source§impl Error for ParseAddrError
impl Error for ParseAddrError
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()