pub enum IbcClientError {
Show 14 variants
Std(StdError),
Abstract(AbstractError),
AbstractSdk(AbstractSdkError),
Ownership(OwnershipError),
RegistryError(RegistryError),
AnsHostError(AnsHostError),
PaymentError(PaymentError),
UnregisteredChain(String),
ForbiddenInternalCall {},
Unauthorized {},
IbcFailed(CallbackMessage),
HostAddressExists {},
IbcClientNotInstalled {
account_id: AccountId,
},
UnexpectedReply {},
}Variants§
Std(StdError)
Abstract(AbstractError)
AbstractSdk(AbstractSdkError)
Ownership(OwnershipError)
RegistryError(RegistryError)
AnsHostError(AnsHostError)
PaymentError(PaymentError)
UnregisteredChain(String)
ForbiddenInternalCall
IbcFailed(CallbackMessage)
HostAddressExists
IbcClientNotInstalled
UnexpectedReply
Trait Implementations§
Source§impl Debug for IbcClientError
impl Debug for IbcClientError
Source§impl Display for IbcClientError
impl Display for IbcClientError
Source§impl Error for IbcClientError
impl Error for IbcClientError
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<AbstractError> for IbcClientError
impl From<AbstractError> for IbcClientError
Source§fn from(source: AbstractError) -> Self
fn from(source: AbstractError) -> Self
Converts to this type from the input type.
Source§impl From<AbstractSdkError> for IbcClientError
impl From<AbstractSdkError> for IbcClientError
Source§fn from(source: AbstractSdkError) -> Self
fn from(source: AbstractSdkError) -> Self
Converts to this type from the input type.
Source§impl From<AnsHostError> for IbcClientError
impl From<AnsHostError> for IbcClientError
Source§fn from(source: AnsHostError) -> Self
fn from(source: AnsHostError) -> Self
Converts to this type from the input type.
Source§impl From<OwnershipError> for IbcClientError
impl From<OwnershipError> for IbcClientError
Source§fn from(source: OwnershipError) -> Self
fn from(source: OwnershipError) -> Self
Converts to this type from the input type.
Source§impl From<PaymentError> for IbcClientError
impl From<PaymentError> for IbcClientError
Source§fn from(source: PaymentError) -> Self
fn from(source: PaymentError) -> Self
Converts to this type from the input type.
Source§impl From<RegistryError> for IbcClientError
impl From<RegistryError> for IbcClientError
Source§fn from(source: RegistryError) -> Self
fn from(source: RegistryError) -> Self
Converts to this type from the input type.
Source§impl From<StdError> for IbcClientError
impl From<StdError> for IbcClientError
Source§impl PartialEq for IbcClientError
impl PartialEq for IbcClientError
impl StructuralPartialEq for IbcClientError
Auto Trait Implementations§
impl Freeze for IbcClientError
impl !RefUnwindSafe for IbcClientError
impl Send for IbcClientError
impl Sync for IbcClientError
impl Unpin for IbcClientError
impl !UnwindSafe for IbcClientError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more