Enum bdk::wallet::address_validator::AddressValidatorError [−][src]
pub enum AddressValidatorError {
UserRejected,
ConnectionError,
TimeoutError,
InvalidScript,
Message(String),
}
Expand description
Errors that can be returned to fail the validation of an address
Variants
User rejected the address
Network connection error
Network request timeout error
Invalid script
Message(String)
A custom error message
Tuple Fields of Message
0: String
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AddressValidatorError
impl Send for AddressValidatorError
impl Sync for AddressValidatorError
impl Unpin for AddressValidatorError
impl UnwindSafe for AddressValidatorError
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self