pub struct CallResultRawHandler;Implementations§
Trait Implementations§
Source§impl Clone for CallResultRawHandler
impl Clone for CallResultRawHandler
Source§fn clone(&self) -> CallResultRawHandler
fn clone(&self) -> CallResultRawHandler
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 CallResultRawHandler
impl Debug for CallResultRawHandler
Source§impl Default for CallResultRawHandler
impl Default for CallResultRawHandler
Source§fn default() -> CallResultRawHandler
fn default() -> CallResultRawHandler
Returns the “default value” for a type. Read more
Source§impl ResponseHandler for CallResultRawHandler
impl ResponseHandler for CallResultRawHandler
type Response = Data<Vec<u8>>
type Query = SimpleQueryRpc
Source§fn process_response(
&self,
response: Vec<RpcQueryResponse>,
) -> Result<Self::Response, QueryError<<Self::Query as RpcType>::Error>>
fn process_response( &self, response: Vec<RpcQueryResponse>, ) -> 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 CallResultRawHandler
impl RefUnwindSafe for CallResultRawHandler
impl Send for CallResultRawHandler
impl Sync for CallResultRawHandler
impl Unpin for CallResultRawHandler
impl UnwindSafe for CallResultRawHandler
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