pub enum PeerUpdate {
Full(Vec<Node>),
Delta {
upsert: Vec<Node>,
remove: Vec<NodeId>,
},
}Expand description
An update to the peers recorded in the netmap.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PeerUpdate
impl RefUnwindSafe for PeerUpdate
impl Send for PeerUpdate
impl Sync for PeerUpdate
impl Unpin for PeerUpdate
impl UnsafeUnpin for PeerUpdate
impl UnwindSafe for PeerUpdate
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