[][src]Trait automate::events::Initializable

pub trait Initializable {
    fn initialize() -> Vec<StatefulListener<Self>>
    where
        Self: Sized
; }

Provides the initialize method for the state structs which define the stateful listener functions.

Required methods

fn initialize() -> Vec<StatefulListener<Self>> where
    Self: Sized

Returns the list of listeners. Gets called once when the library is setting up listeners.

Loading content...

Implementors

Loading content...