Trait hubs::HubsInitializer [−][src]
pub trait HubsInitializer { type T; fn initialize_data(&self) -> Self::T; }
Expand description
Trait used to fill the empty hubs with default data upon creation. See Hubs::new_default as an alternative Do not be afraid to implement this type, since it is used only once upon initalization.