Expand description
All error types.
Structs§
- Missing
Component - Returned by
getwhen an entity does not have a component in the requested storage(s).
Enums§
- AddComponent
- Returned by
AllStorages::add_componentandWorld::add_componentwhen trying to add components to an entity that is not alive. - AddWorkload
- Error type returned by
Workload::add_to_world. - Apply
- Error returned by
applyandapply_mut. - Borrow
- AtomicRefCell’s borrow error.
- Custom
Storage View - Returned when trying to create views for custom storages.
- Deserialize
serde1 - Returned by Des
World::deserialize] orAllStorages::deserialize. - GetComponent
- Returned by
World::getandAllStorages::get. - GetStorage
- Error related to acquiring a storage.
- Impossible
Requirements - Returned when requirements for a workload make it impossible to build a valid workload.
- Invalid
System - Returned when trying to add an invalid system to a workload.
- NewEntity
- Error related to adding an entity.
- Run
- Error returned by
World::runandAllStorages::run. Can refer to an invalid storage borrow or a custom error. - RunWorkload
- Error returned by
run_defaultandrun_workload. The error can be a storage error, problem with the scheduler’s borrowing, a non existent workload or a custom error. - Serialize
serde1 - Returned by
World::serializeorAllStorages::serialize. - SetDefault
Workload - Trying to set the default workload to a non existent one will result in this error.
- Unique
Presence - Error returned by
are_all_uniques_present_in_world. - Unique
Remove - Error returned by
World::remove_uniqueandAllStorages::remove_unique.