Struct jsonrpsee_types::error::SubscriptionEmptyError
source · pub struct SubscriptionEmptyError;
Expand description
The error returned by the subscription’s method for the rpc server implementation.
It contains no data, and neither is the error utilized. It provides an abstraction to make the API more ergonomic while handling errors that may occur during the subscription callback.
Trait Implementations§
source§impl Clone for SubscriptionEmptyError
impl Clone for SubscriptionEmptyError
source§fn clone(&self) -> SubscriptionEmptyError
fn clone(&self) -> SubscriptionEmptyError
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 SubscriptionEmptyError
impl Debug for SubscriptionEmptyError
source§impl From<CallError> for SubscriptionEmptyError
impl From<CallError> for SubscriptionEmptyError
source§impl From<Error> for SubscriptionEmptyError
impl From<Error> for SubscriptionEmptyError
source§impl<'a> From<ErrorObject<'a>> for SubscriptionEmptyError
impl<'a> From<ErrorObject<'a>> for SubscriptionEmptyError
source§fn from(_: ErrorObject<'a>) -> Self
fn from(_: ErrorObject<'a>) -> Self
Converts to this type from the input type.
source§impl From<SubscriptionAcceptRejectError> for SubscriptionEmptyError
impl From<SubscriptionAcceptRejectError> for SubscriptionEmptyError
source§fn from(_: SubscriptionAcceptRejectError) -> Self
fn from(_: SubscriptionAcceptRejectError) -> Self
Converts to this type from the input type.