Harald.HCI.Events.Event behaviour (harald v0.3.0) View Source

Link to this section Summary

Link to this section Callbacks

Specs

decode(binary()) :: {:ok, Event.t()} | {:error, any()}

Specs

encode(Event.t()) :: {:ok, binary()} | {:error, any()}

Specs

event_code() :: {:ok, Events.event_code()} | {:error, any()}