pub enum RpcErrorKind {
RequestValidationError(RpcRequestValidationErrorKind),
HandlerError(Value),
InternalError(Value),
}Variants§
Trait Implementations§
source§impl Clone for RpcErrorKind
impl Clone for RpcErrorKind
source§fn clone(&self) -> RpcErrorKind
fn clone(&self) -> RpcErrorKind
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 RpcErrorKind
impl Debug for RpcErrorKind
source§impl<'de> Deserialize<'de> for RpcErrorKind
impl<'de> Deserialize<'de> for RpcErrorKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for RpcErrorKind
impl PartialEq for RpcErrorKind
source§fn eq(&self, other: &RpcErrorKind) -> bool
fn eq(&self, other: &RpcErrorKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RpcErrorKind
impl Serialize for RpcErrorKind
impl StructuralPartialEq for RpcErrorKind
Auto Trait Implementations§
impl Freeze for RpcErrorKind
impl RefUnwindSafe for RpcErrorKind
impl Send for RpcErrorKind
impl Sync for RpcErrorKind
impl Unpin for RpcErrorKind
impl UnwindSafe for RpcErrorKind
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