Enum ic_web3_rs::error::TransportError
source · pub enum TransportError {
Code(u16),
Message(String),
}
Expand description
Transport-depended error.
Variants§
Code(u16)
Transport-specific error code.
Message(String)
Arbitrary, developer-readable description of the occurred error.
Trait Implementations§
source§impl Clone for TransportError
impl Clone for TransportError
source§fn clone(&self) -> TransportError
fn clone(&self) -> TransportError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransportError
impl Debug for TransportError
source§impl Display for TransportError
impl Display for TransportError
source§impl PartialEq<TransportError> for TransportError
impl PartialEq<TransportError> for TransportError
source§fn eq(&self, other: &TransportError) -> bool
fn eq(&self, other: &TransportError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransportError
Auto Trait Implementations§
impl RefUnwindSafe for TransportError
impl Send for TransportError
impl Sync for TransportError
impl Unpin for TransportError
impl UnwindSafe for TransportError
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