pub enum ContractAddressParseError {
MissingStartBracket,
MissingEndBracket,
ParseIndexIntError(ParseIntError),
ParseSubIndexIntError(ParseIntError),
NoComma,
}
Expand description
Error that can occur when parsing a ContractAddress
from a string.
Variants§
MissingStartBracket
MissingEndBracket
ParseIndexIntError(ParseIntError)
ParseSubIndexIntError(ParseIntError)
NoComma
Trait Implementations§
source§impl Debug for ContractAddressParseError
impl Debug for ContractAddressParseError
source§impl Display for ContractAddressParseError
impl Display for ContractAddressParseError
source§impl Error for ContractAddressParseError
impl Error for ContractAddressParseError
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<ContractAddressParseError> for AddressParseError
impl From<ContractAddressParseError> for AddressParseError
source§fn from(source: ContractAddressParseError) -> Self
fn from(source: ContractAddressParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContractAddressParseError
impl RefUnwindSafe for ContractAddressParseError
impl Send for ContractAddressParseError
impl Sync for ContractAddressParseError
impl Unpin for ContractAddressParseError
impl UnwindSafe for ContractAddressParseError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more