pub enum FleetEvent {
AgentJoined {
agent_id: String,
index: usize,
},
AgentLeft {
agent_id: String,
index: usize,
},
EdgeAdded {
from: usize,
to: usize,
},
EdgeRemoved {
from: usize,
to: usize,
},
}Expand description
A change event in the fleet graph.
Variants§
Trait Implementations§
Source§impl Clone for FleetEvent
impl Clone for FleetEvent
Source§fn clone(&self) -> FleetEvent
fn clone(&self) -> FleetEvent
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 moreAuto Trait Implementations§
impl Freeze for FleetEvent
impl RefUnwindSafe for FleetEvent
impl Send for FleetEvent
impl Sync for FleetEvent
impl Unpin for FleetEvent
impl UnsafeUnpin for FleetEvent
impl UnwindSafe for FleetEvent
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