Enum ibc_query::error::QueryError
source · pub enum QueryError {
ContextError(ContextError),
ClientError(ClientError),
IdentifierError(IdentifierError),
ProofNotFound {
description: String,
},
}
Variants§
ContextError(ContextError)
Context error: {0}
ClientError(ClientError)
Client error: {0}
IdentifierError(IdentifierError)
Identifier error: {0}
ProofNotFound
Proof not found: {description}
Trait Implementations§
source§impl Debug for QueryError
impl Debug for QueryError
source§impl Display for QueryError
impl Display for QueryError
source§impl From<ClientError> for QueryError
impl From<ClientError> for QueryError
source§fn from(e: ClientError) -> Self
fn from(e: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ContextError> for QueryError
impl From<ContextError> for QueryError
source§fn from(e: ContextError) -> Self
fn from(e: ContextError) -> Self
Converts to this type from the input type.
source§impl From<IdentifierError> for QueryError
impl From<IdentifierError> for QueryError
source§fn from(e: IdentifierError) -> Self
fn from(e: IdentifierError) -> Self
Converts to this type from the input type.
source§impl From<QueryError> for Status
impl From<QueryError> for Status
source§fn from(e: QueryError) -> Self
fn from(e: QueryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for QueryError
impl Send for QueryError
impl Sync for QueryError
impl Unpin for QueryError
impl !UnwindSafe for QueryError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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