Skip to main content

EventIngress

Trait EventIngress 

Source
pub trait EventIngress<Source, Input>: Sized {
    // Required method
    fn ingress(input: Input) -> Self;
}
Expand description

Owner-selected event ingress for one statically identified source.

Source distinguishes otherwise identical inputs without an absolute wrapper path. A child report uses its semantic ChildRole as the source; a current-actor policy input uses Here. Outer EventLayer composition lifts the selected ingress automatically, so adding a BehaviorLayer never requires a caller to recount structural event depth.

This is a derived Bombay composition contract, not an actor-model primitive. It constructs a typed event only and performs no delivery, lookup, or interpreter effect.

Required Methods§

Source

fn ingress(input: Input) -> Self

Construct the event selected for Source and Input.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A, C, M> EventIngress<Births<C>, CreationsSettled<A, C>> for CreationEvent<A, C, M>
where A: Address, C: ChildCreationProduct<A, ChildHead>,

Source§

impl<Owned, Inner, Source, Input> EventIngress<Source, Input> for EventLayer<Owned, Inner>
where Inner: EventIngress<Source, Input>,