pub enum JsonRpcTransportHandlerResponseError {
ResultParseError(Error),
ErrorMessageParseError(Error),
}Expand description
Potential errors returned when the client has an issue parsing the response of a method call.
Variants§
ResultParseError(Error)
Client fails to deserialize the result of a method call.
ErrorMessageParseError(Error)
Client fails to deserialize the error message returned from a method call.
Trait Implementations§
source§impl Error for JsonRpcTransportHandlerResponseError
impl Error for JsonRpcTransportHandlerResponseError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for JsonRpcTransportHandlerResponseError
impl !RefUnwindSafe for JsonRpcTransportHandlerResponseError
impl Send for JsonRpcTransportHandlerResponseError
impl Sync for JsonRpcTransportHandlerResponseError
impl Unpin for JsonRpcTransportHandlerResponseError
impl !UnwindSafe for JsonRpcTransportHandlerResponseError
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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