pub trait Event {
    type Err;
    fn is_valid(&self) -> bool;
    fn raise(
        &mut self,
        address_space: &mut AddressSpace
    ) -> Result<NodeId, Self::Err>; }
Expand description

Events can implement this to populate themselves into the address space

Associated Types

Required methods

Tests if the event is valid

Raises the event, i.e. adds the object into the address space. The event must be valid to be inserted.

Implementors