pub enum InternalError {
InternalError {
error_message: String,
},
}Expand description
InternalError
JSON schema
{
"oneOf": [
{
"type": "object",
"required": [
"info",
"name"
],
"properties": {
"info": {
"type": "object",
"required": [
"error_message"
],
"properties": {
"error_message": {
"type": "string"
}
}
},
"name": {
"type": "string",
"enum": [
"INTERNAL_ERROR"
]
}
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for InternalError
impl Clone for InternalError
Source§fn clone(&self) -> InternalError
fn clone(&self) -> InternalError
Returns a duplicate 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 InternalError
impl Debug for InternalError
Source§impl<'de> Deserialize<'de> for InternalError
impl<'de> Deserialize<'de> for InternalError
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 From<&InternalError> for InternalError
impl From<&InternalError> for InternalError
Source§fn from(value: &InternalError) -> Self
fn from(value: &InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForGenesisConfigError
impl From<InternalError> for ErrorWrapperForGenesisConfigError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcBlockError
impl From<InternalError> for ErrorWrapperForRpcBlockError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcChunkError
impl From<InternalError> for ErrorWrapperForRpcChunkError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcClientConfigError
impl From<InternalError> for ErrorWrapperForRpcClientConfigError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcGasPriceError
impl From<InternalError> for ErrorWrapperForRpcGasPriceError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcLightClientNextBlockError
impl From<InternalError> for ErrorWrapperForRpcLightClientNextBlockError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcLightClientProofError
impl From<InternalError> for ErrorWrapperForRpcLightClientProofError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcMaintenanceWindowsError
impl From<InternalError> for ErrorWrapperForRpcMaintenanceWindowsError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcNetworkInfoError
impl From<InternalError> for ErrorWrapperForRpcNetworkInfoError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcProtocolConfigError
impl From<InternalError> for ErrorWrapperForRpcProtocolConfigError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcQueryError
impl From<InternalError> for ErrorWrapperForRpcQueryError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcReceiptError
impl From<InternalError> for ErrorWrapperForRpcReceiptError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcSplitStorageInfoError
impl From<InternalError> for ErrorWrapperForRpcSplitStorageInfoError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcStateChangesError
impl From<InternalError> for ErrorWrapperForRpcStateChangesError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcStatusError
impl From<InternalError> for ErrorWrapperForRpcStatusError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcTransactionError
impl From<InternalError> for ErrorWrapperForRpcTransactionError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<InternalError> for ErrorWrapperForRpcValidatorError
impl From<InternalError> for ErrorWrapperForRpcValidatorError
Source§fn from(value: InternalError) -> Self
fn from(value: InternalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InternalError
impl RefUnwindSafe for InternalError
impl Send for InternalError
impl Sync for InternalError
impl Unpin for InternalError
impl UnwindSafe for InternalError
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