pub enum MethodResponse {
Started(MethodResponseStarted),
LimitReached,
}Expand description
The method response of chainHead_body, chainHead_call and chainHead_storage.
Variants§
Started(MethodResponseStarted)
The method has started.
LimitReached
The RPC server cannot handle the request at the moment.
Trait Implementations§
Source§impl Clone for MethodResponse
impl Clone for MethodResponse
Source§fn clone(&self) -> MethodResponse
fn clone(&self) -> MethodResponse
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 MethodResponse
impl Debug for MethodResponse
Source§impl<'de> Deserialize<'de> for MethodResponse
impl<'de> Deserialize<'de> for MethodResponse
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 MethodResponse
impl PartialEq for MethodResponse
Source§impl Serialize for MethodResponse
impl Serialize for MethodResponse
impl Eq for MethodResponse
impl StructuralPartialEq for MethodResponse
Auto Trait Implementations§
impl Freeze for MethodResponse
impl RefUnwindSafe for MethodResponse
impl Send for MethodResponse
impl Sync for MethodResponse
impl Unpin for MethodResponse
impl UnwindSafe for MethodResponse
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