pub struct ViewCodeHandler;Trait Implementations§
Source§impl Clone for ViewCodeHandler
impl Clone for ViewCodeHandler
Source§fn clone(&self) -> ViewCodeHandler
fn clone(&self) -> ViewCodeHandler
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 ViewCodeHandler
impl Debug for ViewCodeHandler
Source§impl Default for ViewCodeHandler
impl Default for ViewCodeHandler
Source§fn default() -> ViewCodeHandler
fn default() -> ViewCodeHandler
Returns the “default value” for a type. Read more
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 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