Struct caminos_lib::traffic::Burst [−][src]
pub struct Burst { /* fields omitted */ }
Expand description
Initialize an amount of messages to send from each server. The traffic will be considered complete when all servers have generated their messages and all of them have been consumed.
Implementations
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.
Returns a new message following the indications of the traffic
Get its probability of generating per cycle
If the message was generated by the traffic updates itself and returns true
Indicates if the traffic is not going to generate any more messages.