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.
impl Copy for SubscriptionEmptyError
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionEmptyError
impl Send for SubscriptionEmptyError
impl Sync for SubscriptionEmptyError
impl Unpin for SubscriptionEmptyError
impl UnwindSafe for SubscriptionEmptyError
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