pub struct RpcValidatorHandler;Trait Implementations§
Source§impl Clone for RpcValidatorHandler
impl Clone for RpcValidatorHandler
Source§fn clone(&self) -> RpcValidatorHandler
fn clone(&self) -> RpcValidatorHandler
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 RpcValidatorHandler
impl Debug for RpcValidatorHandler
Source§impl ResponseHandler for RpcValidatorHandler
impl ResponseHandler for RpcValidatorHandler
type Response = RpcValidatorResponse
type Query = SimpleValidatorRpc
Source§fn process_response(
&self,
response: Vec<RpcValidatorResponse>,
) -> Result<Self::Response, QueryError<<Self::Query as RpcType>::Error>>
fn process_response( &self, response: Vec<RpcValidatorResponse>, ) -> Result<Self::Response, QueryError<<Self::Query as RpcType>::Error>>
NOTE: responses should always >= 1
fn request_amount(&self) -> usize
Auto Trait Implementations§
impl Freeze for RpcValidatorHandler
impl RefUnwindSafe for RpcValidatorHandler
impl Send for RpcValidatorHandler
impl Sync for RpcValidatorHandler
impl Unpin for RpcValidatorHandler
impl UnwindSafe for RpcValidatorHandler
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