pub enum SimulationEvent {
ClientSend {
to_node: Arc<String>,
event: Box<dyn ActorMsg>,
},
ClientRequest {
to_node: Arc<String>,
event: Box<dyn ActorMsg>,
},
P2PSend {
to_node: Arc<String>,
event: Box<dyn ActorMsg>,
},
P2PRequest {
node: Arc<String>,
event: Box<dyn ActorMsg>,
},
Internal {
event: InternalEvent,
},
SimulationEnd,
}Variants§
Trait Implementations§
Source§impl Clone for SimulationEvent
impl Clone for SimulationEvent
Source§fn clone(&self) -> SimulationEvent
fn clone(&self) -> SimulationEvent
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for SimulationEvent
impl !RefUnwindSafe for SimulationEvent
impl Send for SimulationEvent
impl !Sync for SimulationEvent
impl Unpin for SimulationEvent
impl !UnwindSafe for SimulationEvent
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