Enum caminos_lib::event::Event [−][src]
pub enum Event {
PhitToLocation {
phit: Rc<Phit>,
previous: Location,
new: Location,
},
Acknowledge {
location: Location,
message: AcknowledgeMessage,
},
Generic(Rc<RefCell<dyn Eventful>>),
}
Expand description
The events stored in the event queue.
Variants
Fields of Acknowledge
location: Location
Location by which the phit was sent, contaning the transmission status to be informed (such as credit counter).
message: AcknowledgeMessage
Trait Implementations
Get the total memory currently being employed by the implementing type. Both stack and heap.
Prints by stdout how much memory is used per component.
Get an estimation on how much memory the type could reach during the simulation.
Auto Trait Implementations
impl !RefUnwindSafe for Event
impl !UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more