pub struct NeighborHostingInfo {
pub my_hosted: Vec<ContractHostingEntry>,
pub neighbor_hosting: Vec<NeighborHostingDetail>,
pub stats: HostingStats,
}Expand description
Neighbor hosting information for update propagation
Fields§
§my_hosted: Vec<ContractHostingEntry>Contracts this node is currently hosting
neighbor_hosting: Vec<NeighborHostingDetail>What we know about neighbor hosting
stats: HostingStatsHosting propagation statistics
Trait Implementations§
Source§impl Clone for NeighborHostingInfo
impl Clone for NeighborHostingInfo
Source§fn clone(&self) -> NeighborHostingInfo
fn clone(&self) -> NeighborHostingInfo
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 NeighborHostingInfo
impl Debug for NeighborHostingInfo
Source§impl<'de> Deserialize<'de> for NeighborHostingInfo
impl<'de> Deserialize<'de> for NeighborHostingInfo
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
Auto Trait Implementations§
impl Freeze for NeighborHostingInfo
impl RefUnwindSafe for NeighborHostingInfo
impl Send for NeighborHostingInfo
impl Sync for NeighborHostingInfo
impl Unpin for NeighborHostingInfo
impl UnsafeUnpin for NeighborHostingInfo
impl UnwindSafe for NeighborHostingInfo
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