pub struct PeerCountsParams {}Expand description
control.peerCounts params — none.
The counts describe this node’s own connectivity on each network, so there is nothing to scope the question by. One call answers for BOTH networks deliberately: a consumer that had to collect the DIG count from a peer method and the Chia count from a wallet method is a consumer that can reach for the wrong one.
Trait Implementations§
Source§impl Clone for PeerCountsParams
impl Clone for PeerCountsParams
Source§fn clone(&self) -> PeerCountsParams
fn clone(&self) -> PeerCountsParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ControlCall for PeerCountsParams
impl ControlCall for PeerCountsParams
Source§const METHOD: ControlMethod = ControlMethod::PeerCounts
const METHOD: ControlMethod = ControlMethod::PeerCounts
The wire method this call invokes.
Source§type Output = PeerCountsResult
type Output = PeerCountsResult
The typed result this call returns on success.
impl Copy for PeerCountsParams
Source§impl Debug for PeerCountsParams
impl Debug for PeerCountsParams
Source§impl Default for PeerCountsParams
impl Default for PeerCountsParams
Source§fn default() -> PeerCountsParams
fn default() -> PeerCountsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PeerCountsParams
impl<'de> Deserialize<'de> for PeerCountsParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PeerCountsParams
Source§impl PartialEq for PeerCountsParams
impl PartialEq for PeerCountsParams
Source§impl Serialize for PeerCountsParams
impl Serialize for PeerCountsParams
impl StructuralPartialEq for PeerCountsParams
Auto Trait Implementations§
impl Freeze for PeerCountsParams
impl RefUnwindSafe for PeerCountsParams
impl Send for PeerCountsParams
impl Sync for PeerCountsParams
impl Unpin for PeerCountsParams
impl UnsafeUnpin for PeerCountsParams
impl UnwindSafe for PeerCountsParams
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