Trait aurum_actors::core::RootMessage[][src]

pub trait RootMessage<U: UnifiedType + Case<Self>> where
    Self: Sized + Send + 'static, 
{ fn has_interface(interface: U) -> bool; }
Expand description

Denotes message types that Actor receives.

This trait shoud not be implemented manually. The AurumInterface derive macro will implement it. Feel free to use it in trait bounds.

Required methods

Tests if this root message type has an interface for the type corresponding to the given variant of our UnifiedType.

Implementors