pub enum ClientErrorKind {
Io(Error),
Reqwest(Error),
RpcError(RpcError),
SerdeJson(Error),
SigningError(SignerError),
TransactionError(TransactionError),
FaucetError(FaucetError),
Custom(String),
}
Variants
Io(Error)
Reqwest(Error)
RpcError(RpcError)
SerdeJson(Error)
SigningError(SignerError)
TransactionError(TransactionError)
FaucetError(FaucetError)
Custom(String)
Implementations
sourceimpl ClientErrorKind
impl ClientErrorKind
pub fn get_transaction_error(&self) -> Option<TransactionError>
Trait Implementations
sourceimpl Debug for ClientErrorKind
impl Debug for ClientErrorKind
sourceimpl Display for ClientErrorKind
impl Display for ClientErrorKind
sourceimpl Error for ClientErrorKind
impl Error for ClientErrorKind
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<ClientErrorKind> for ClientError
impl From<ClientErrorKind> for ClientError
sourcefn from(kind: ClientErrorKind) -> Self
fn from(kind: ClientErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<ClientErrorKind> for TransportError
impl From<ClientErrorKind> for TransportError
sourcefn from(client_error_kind: ClientErrorKind) -> Self
fn from(client_error_kind: ClientErrorKind) -> Self
Converts to this type from the input type.
sourceimpl From<ConnectError> for ClientErrorKind
impl From<ConnectError> for ClientErrorKind
sourcefn from(connect_error: ConnectError) -> Self
fn from(connect_error: ConnectError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for ClientErrorKind
impl From<Error> for ClientErrorKind
sourceimpl From<Error> for ClientErrorKind
impl From<Error> for ClientErrorKind
sourceimpl From<Error> for ClientErrorKind
impl From<Error> for ClientErrorKind
sourceimpl From<FaucetError> for ClientErrorKind
impl From<FaucetError> for ClientErrorKind
sourcefn from(source: FaucetError) -> Self
fn from(source: FaucetError) -> Self
Converts to this type from the input type.
sourceimpl From<QuicError> for ClientErrorKind
impl From<QuicError> for ClientErrorKind
sourceimpl From<RpcError> for ClientErrorKind
impl From<RpcError> for ClientErrorKind
sourceimpl From<SignerError> for ClientErrorKind
impl From<SignerError> for ClientErrorKind
sourcefn from(source: SignerError) -> Self
fn from(source: SignerError) -> Self
Converts to this type from the input type.
sourceimpl From<TransactionError> for ClientErrorKind
impl From<TransactionError> for ClientErrorKind
sourcefn from(source: TransactionError) -> Self
fn from(source: TransactionError) -> Self
Converts to this type from the input type.
sourceimpl From<TransportError> for ClientErrorKind
impl From<TransportError> for ClientErrorKind
sourcefn from(err: TransportError) -> Self
fn from(err: TransportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ClientErrorKind
impl Send for ClientErrorKind
impl Sync for ClientErrorKind
impl Unpin for ClientErrorKind
impl !UnwindSafe for ClientErrorKind
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more