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