pub trait EventHandle: Copy + Debug {
// Required methods
fn id(&self) -> usize;
fn addr(&self) -> AbsoluteAddrBase<StateObjectId>;
}Expand description
Marker trait for backend-specific event handles.
An event handle is an opaque reference to a compiled clock or
async-reset trigger. It is resolved once via
SimBackend::resolve_event and then passed to tick/eval methods
for zero-cost dispatch.
Required Methods§
Sourcefn addr(&self) -> AbsoluteAddrBase<StateObjectId>
fn addr(&self) -> AbsoluteAddrBase<StateObjectId>
The absolute address of the signal this event is bound to.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".