pub struct ViewCodeHandler;Trait Implementations§
Source§impl Clone for ViewCodeHandler
impl Clone for ViewCodeHandler
Source§impl Debug for ViewCodeHandler
impl Debug for ViewCodeHandler
Source§impl Default for ViewCodeHandler
impl Default for ViewCodeHandler
Source§impl ResponseHandler for ViewCodeHandler
impl ResponseHandler for ViewCodeHandler
type Response = Data<ContractCodeView>
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 ViewCodeHandler
impl RefUnwindSafe for ViewCodeHandler
impl Send for ViewCodeHandler
impl Sync for ViewCodeHandler
impl Unpin for ViewCodeHandler
impl UnsafeUnpin for ViewCodeHandler
impl UnwindSafe for ViewCodeHandler
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