Trait aurum_actors::core::UnifiedType[][src]

pub trait UnifiedType: 'static + Send + Sync + Copy + Clone + PartialEq + Eq + Hash + Debug + Display + Serialize + DeserializeOwned + PartialOrd + Ord + Case<RegistryMsg<Self>> + Case<LoggerMsg> + Case<ClusterMsg<Self>> + Case<IntraClusterMsg<Self>> + Case<HeartbeatReceiverMsg> + Case<DeviceClientMsg<Self>> + Case<DeviceClientRemoteMsg<Self>> + Case<DeviceServerMsg> + Case<DeviceServerRemoteMsg> + Case<HBReqSenderMsg> + Case<HBReqSenderRemoteMsg> + Case<CausalMsg<Devices>> + Case<CausalIntraMsg<Devices>> {
    fn has_interface(self, interface: Self) -> bool;
}
Expand description

Enumerates all possible message types within an application.

This trait should not be implemented manually. The unify macro will handle that. Feel free to use it in trait bounds.

Required methods

Tests if this variant’s type has another variant’s type as an interface.

Implementors