Struct caminos_lib::Message[][src]

pub struct Message {
    pub origin: usize,
    pub destination: usize,
    pub size: usize,
    pub creation_cycle: usize,
}
Expand description

An application message, broken into packets

Fields

origin: usize

Server that created the message.

destination: usize

Server that is the destination of the message.

size: usize

Number of phits.

creation_cycle: usize

Cycle when the message was created.

Trait Implementations

Formats the value using the given formatter. Read more

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.