pub trait Interaction {
// Required methods
fn originator(&self) -> Option<&EntityId>;
fn receiver(&self) -> Option<&EntityId>;
}Expand description
Trait for PDUs to implement whether an interaction between one or two
entities happens. Used to generically query the originating EntityId and (optional) receiving EntityId of
the interaction. When a PDU has no interaction, both the originator and receiver are None.