pub enum CosmosClient {
Show 20 variants
TendermintRpcError(Error),
ProstDecodeError(DecodeError),
ProstEncodeError(EncodeError),
JsonError(Error),
CosmRsTendermintError(Error),
Bip32Error(Error),
TimestampError(TimestampError),
Utf8Error(Utf8Error),
IoError(Error),
ErrorReport(ErrorReport),
FromHexError(FromHexError),
Infaillible(Infallible),
ParseIntError(ParseIntError),
UnknownCosmosMsg,
AccountDoesNotExistOnChain {
address: String,
},
CannotSimulateTxGasFee,
NoSignerAttached,
RpcError(String),
TXPollingTimeout,
NoVestingBaseAccount,
}Variants§
TendermintRpcError(Error)
ProstDecodeError(DecodeError)
ProstEncodeError(EncodeError)
JsonError(Error)
CosmRsTendermintError(Error)
Bip32Error(Error)
TimestampError(TimestampError)
Utf8Error(Utf8Error)
IoError(Error)
ErrorReport(ErrorReport)
FromHexError(FromHexError)
Infaillible(Infallible)
ParseIntError(ParseIntError)
UnknownCosmosMsg
AccountDoesNotExistOnChain
CannotSimulateTxGasFee
NoSignerAttached
RpcError(String)
TXPollingTimeout
NoVestingBaseAccount
Trait Implementations§
Source§impl Debug for CosmosClient
impl Debug for CosmosClient
Source§impl Display for CosmosClient
impl Display for CosmosClient
Source§impl Error for CosmosClient
impl Error for CosmosClient
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<DecodeError> for CosmosClient
impl From<DecodeError> for CosmosClient
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for CosmosClient
impl From<EncodeError> for CosmosClient
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CosmosClient
impl From<Error> for CosmosClient
Source§impl From<Error> for CosmosClient
impl From<Error> for CosmosClient
Source§impl From<Error> for CosmosClient
impl From<Error> for CosmosClient
Source§impl From<Error> for CosmosClient
impl From<Error> for CosmosClient
Source§impl From<Error> for CosmosClient
impl From<Error> for CosmosClient
Source§impl From<Report> for CosmosClient
impl From<Report> for CosmosClient
Source§fn from(source: ErrorReport) -> Self
fn from(source: ErrorReport) -> Self
Converts to this type from the input type.
Source§impl From<FromHexError> for CosmosClient
impl From<FromHexError> for CosmosClient
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for CosmosClient
impl From<Infallible> for CosmosClient
Source§fn from(source: Infallible) -> Self
fn from(source: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for CosmosClient
impl From<ParseIntError> for CosmosClient
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<TimestampError> for CosmosClient
impl From<TimestampError> for CosmosClient
Source§fn from(source: TimestampError) -> Self
fn from(source: TimestampError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CosmosClient
impl !RefUnwindSafe for CosmosClient
impl Send for CosmosClient
impl Sync for CosmosClient
impl Unpin for CosmosClient
impl !UnwindSafe for CosmosClient
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request