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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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