pub struct DistributedNodesUpdatedEvent { /* private fields */ }
Available on crate features
DOM
and Runtime
and experimental
only.Expand description
Called when distrubution is changed.
Implementations§
Source§impl DistributedNodesUpdatedEvent
impl DistributedNodesUpdatedEvent
pub fn new( insertion_point_id: NodeId, distributed_nodes: Vec<BackendNode>, ) -> Self
Sourcepub fn insertion_point_id(&self) -> &NodeId
pub fn insertion_point_id(&self) -> &NodeId
Insertion point where distrubuted nodes were updated.
Sourcepub fn distributed_nodes(&self) -> &[BackendNode]
pub fn distributed_nodes(&self) -> &[BackendNode]
Distributed nodes for given insertion point.
Trait Implementations§
Source§impl Clone for DistributedNodesUpdatedEvent
impl Clone for DistributedNodesUpdatedEvent
Source§fn clone(&self) -> DistributedNodesUpdatedEvent
fn clone(&self) -> DistributedNodesUpdatedEvent
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 DistributedNodesUpdatedEvent
impl Debug for DistributedNodesUpdatedEvent
Source§impl<'de> Deserialize<'de> for DistributedNodesUpdatedEvent
impl<'de> Deserialize<'de> for DistributedNodesUpdatedEvent
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 DistributedNodesUpdatedEvent
impl RefUnwindSafe for DistributedNodesUpdatedEvent
impl Send for DistributedNodesUpdatedEvent
impl Sync for DistributedNodesUpdatedEvent
impl Unpin for DistributedNodesUpdatedEvent
impl UnwindSafe for DistributedNodesUpdatedEvent
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