Macro channel_loader::define_static_loader [−][src]
macro_rules! define_static_loader { ($loader:ty) => { ... }; ($static_name:ident, $loader:ty) => { ... }; }
Expand description
Defines a static DataLoader
instance from a type that implements TaskHandler
and registers reactor initialization to be handled via booter::boot()
;