pub enum ResolverError {
Io(IoError),
Connectivity,
Local,
Protocol,
Logic,
ServerSide(String),
}Variants§
Io(IoError)
Connectivity
cannot connect to the indexer server.
Local
internal resolver error on the client side.
Protocol
indexer uses invalid protocol.
Logic
invalid caller business logic.
ServerSide(String)
the indexer server has returned an error “{0}”
Trait Implementations§
Source§impl Debug for ResolverError
impl Debug for ResolverError
Source§impl Display for ResolverError
impl Display for ResolverError
Source§impl Error for ResolverError
impl Error for ResolverError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<Error> for ResolverError
Available on crate feature resolver-electrum only.
impl From<Error> for ResolverError
Available on crate feature
resolver-electrum only.Source§fn from(err: ElectrumError) -> Self
fn from(err: ElectrumError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ResolverError
Available on crate features resolver-esplora or resolver-esplora-async only.
impl From<Error> for ResolverError
Available on crate features
resolver-esplora or resolver-esplora-async only.Source§fn from(err: EsploraError) -> Self
fn from(err: EsploraError) -> Self
Converts to this type from the input type.
Source§impl From<ResolverError> for String
impl From<ResolverError> for String
Source§fn from(err: ResolverError) -> Self
fn from(err: ResolverError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResolverError
impl !RefUnwindSafe for ResolverError
impl Send for ResolverError
impl Sync for ResolverError
impl Unpin for ResolverError
impl !UnwindSafe for ResolverError
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