Enum electrum_client::Error [−][src]
pub enum Error {}Show 16 variants
IOError(Error), JSON(Error), Hex(Error), Protocol(Value), Bitcoin(Error), AlreadySubscribed(ScriptHash), NotSubscribed(ScriptHash), InvalidResponse(Value), Message(String), InvalidDNSNameError(String), MissingDomain, AllAttemptsErrored(Vec<Error>), SharedIOError(Arc<Error>), BothSocksAndTimeout, CouldntLockReader, Mpsc,
Expand description
Errors
Variants
Wraps std::io::Error
Tuple Fields of IOError
0: Error
Wraps serde_json::error::Error
Tuple Fields of JSON
0: Error
Wraps bitcoin::hashes::hex::Error
Error returned by the Electrum server
Tuple Fields of Protocol
0: Value
Error during the deserialization of a Bitcoin data structure
Tuple Fields of Bitcoin
0: Error
Already subscribed to the notifications of an address
Tuple Fields of AlreadySubscribed
0: ScriptHash
Not subscribed to the notifications of an address
Tuple Fields of NotSubscribed
0: ScriptHash
Error during the deserialization of a response from the server
Tuple Fields of InvalidResponse
0: Value
Generic error with a message
Tuple Fields of Message
0: String
Invalid domain name for an SSL certificate
Tuple Fields of InvalidDNSNameError
0: String
Missing domain while it was explicitly asked to validate it
Made one or multiple attempts, always in Error
There was an io error reading the socket, to be shared between threads
Setting both a proxy and a timeout in Config
is an error
Couldn’t take a lock on the reader mutex. This means that there’s already another reader thread running
Broken IPC communication channel: the other thread probably has exited
Trait Implementations
Performs the conversion.