pub struct AccountViewHandler;Trait Implementations§
Source§impl Clone for AccountViewHandler
impl Clone for AccountViewHandler
Source§fn clone(&self) -> AccountViewHandler
fn clone(&self) -> AccountViewHandler
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 AccountViewHandler
impl Debug for AccountViewHandler
Source§impl Default for AccountViewHandler
impl Default for AccountViewHandler
Source§fn default() -> AccountViewHandler
fn default() -> AccountViewHandler
Returns the “default value” for a type. Read more
Source§impl ResponseHandler for AccountViewHandler
impl ResponseHandler for AccountViewHandler
type Query = SimpleQueryRpc
type Response = Data<Account>
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 AccountViewHandler
impl RefUnwindSafe for AccountViewHandler
impl Send for AccountViewHandler
impl Sync for AccountViewHandler
impl Unpin for AccountViewHandler
impl UnwindSafe for AccountViewHandler
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