pub enum ContextError {
ClientError(ClientError),
ConnectionError(ConnectionError),
ChannelError(ChannelError),
PacketError(PacketError),
RouterError(RouterError),
}
Expand description
Top-level error
Variants§
ClientError(ClientError)
ICS02 Client error: {0}
ConnectionError(ConnectionError)
ICS03 Connection error: {0}
ChannelError(ChannelError)
ICS04 Channel error: {0}
PacketError(PacketError)
ICS04 Packet error: {0}
RouterError(RouterError)
ICS26 Routing error: {0}
Trait Implementations§
source§impl Debug for ContextError
impl Debug for ContextError
source§impl Display for ContextError
impl Display for ContextError
source§impl Error for ContextError
impl Error for ContextError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ChannelError> for ContextError
impl From<ChannelError> for ContextError
source§fn from(original: ChannelError) -> ContextError
fn from(original: ChannelError) -> ContextError
Converts to this type from the input type.
source§impl From<ClientError> for ContextError
impl From<ClientError> for ContextError
source§fn from(original: ClientError) -> ContextError
fn from(original: ClientError) -> ContextError
Converts to this type from the input type.
source§impl From<ConnectionError> for ContextError
impl From<ConnectionError> for ContextError
source§fn from(original: ConnectionError) -> ContextError
fn from(original: ConnectionError) -> ContextError
Converts to this type from the input type.
source§impl From<ContextError> for ClientError
impl From<ContextError> for ClientError
source§fn from(context_error: ContextError) -> ClientError
fn from(context_error: ContextError) -> ClientError
Converts to this type from the input type.
source§impl From<ContextError> for NftTransferError
impl From<ContextError> for NftTransferError
source§fn from(err: ContextError) -> NftTransferError
fn from(err: ContextError) -> NftTransferError
Converts to this type from the input type.
source§impl From<ContextError> for TokenTransferError
impl From<ContextError> for TokenTransferError
source§fn from(err: ContextError) -> TokenTransferError
fn from(err: ContextError) -> TokenTransferError
Converts to this type from the input type.
source§impl From<PacketError> for ContextError
impl From<PacketError> for ContextError
source§fn from(original: PacketError) -> ContextError
fn from(original: PacketError) -> ContextError
Converts to this type from the input type.
source§impl From<RouterError> for ContextError
impl From<RouterError> for ContextError
source§fn from(original: RouterError) -> ContextError
fn from(original: RouterError) -> ContextError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContextError
impl RefUnwindSafe for ContextError
impl Send for ContextError
impl Sync for ContextError
impl Unpin for ContextError
impl UnwindSafe for ContextError
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