pub trait AllSystem<'s, Data, Borrow, Return> {
fn run(
self,
data: Data,
all_storages: &'s AllStorages
) -> Result<Return, GetStorage>;
}
Expand description
Trait bound encompassing all functions that can be used as system.
Same as System
but for AllStorages::run
.
Data
is the external data passed to the system through run_with_data
.
Borrow
are the storages borrowed.
Return
is the type returned by the system.