pub struct CrossShardEdgeNotification {
pub edges: Vec<CrossShardEdge>,
pub source_shard: ShardId,
pub tick: Tick,
}Expand description
Message for cross-shard edge notification.
Sent during the Exchange phase to notify other shards about edges that cross shard boundaries.
Fields§
§edges: Vec<CrossShardEdge>The edges being reported.
source_shard: ShardIdThe shard sending this notification.
tick: TickThe tick during which these edges were created.
Trait Implementations§
Source§impl Clone for CrossShardEdgeNotification
impl Clone for CrossShardEdgeNotification
Source§fn clone(&self) -> CrossShardEdgeNotification
fn clone(&self) -> CrossShardEdgeNotification
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 Debug for CrossShardEdgeNotification
impl Debug for CrossShardEdgeNotification
Source§impl<'de> Deserialize<'de> for CrossShardEdgeNotification
impl<'de> Deserialize<'de> for CrossShardEdgeNotification
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 CrossShardEdgeNotification
impl RefUnwindSafe for CrossShardEdgeNotification
impl Send for CrossShardEdgeNotification
impl Sync for CrossShardEdgeNotification
impl Unpin for CrossShardEdgeNotification
impl UnsafeUnpin for CrossShardEdgeNotification
impl UnwindSafe for CrossShardEdgeNotification
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