pub struct ProximityCacheInfo {
pub my_cache: Vec<ContractCacheEntry>,
pub neighbor_caches: Vec<NeighborCacheInfo>,
pub stats: ProximityStats,
}
Expand description
Phase 3: Proximity cache information for update propagation
Fields§
§my_cache: Vec<ContractCacheEntry>
Contracts this node is currently caching
neighbor_caches: Vec<NeighborCacheInfo>
What we know about neighbor caches
stats: ProximityStats
Proximity propagation statistics
Trait Implementations§
Source§impl Clone for ProximityCacheInfo
impl Clone for ProximityCacheInfo
Source§fn clone(&self) -> ProximityCacheInfo
fn clone(&self) -> ProximityCacheInfo
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 ProximityCacheInfo
impl Debug for ProximityCacheInfo
Source§impl<'de> Deserialize<'de> for ProximityCacheInfo
impl<'de> Deserialize<'de> for ProximityCacheInfo
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 ProximityCacheInfo
impl RefUnwindSafe for ProximityCacheInfo
impl Send for ProximityCacheInfo
impl Sync for ProximityCacheInfo
impl Unpin for ProximityCacheInfo
impl UnwindSafe for ProximityCacheInfo
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