Enum unc_jsonrpc_client::methods::status::RpcStatusError
source · pub enum RpcStatusError {
NodeIsSyncing,
NoNewBlocks {
elapsed: Duration,
},
EpochOutOfBounds {
epoch_id: EpochId,
},
InternalError {
error_message: String,
},
}
Variants§
Trait Implementations§
source§impl Debug for RpcStatusError
impl Debug for RpcStatusError
source§impl<'de> Deserialize<'de> for RpcStatusError
impl<'de> Deserialize<'de> for RpcStatusError
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<RpcStatusError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RpcStatusError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RpcStatusError
impl Display for RpcStatusError
source§impl Error for RpcStatusError
impl Error for RpcStatusError
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()
source§impl RpcHandlerError for RpcStatusError
impl RpcHandlerError for RpcStatusError
source§impl Serialize for RpcStatusError
impl Serialize for RpcStatusError
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RpcStatusError
impl RefUnwindSafe for RpcStatusError
impl Send for RpcStatusError
impl Sync for RpcStatusError
impl Unpin for RpcStatusError
impl UnwindSafe for RpcStatusError
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