async-ecs 0.1.0

Async Parallel Entity Component System for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::fmt::Debug;

use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("A System with this name was already registered: {0}!")]
    NameAlreadyRegistered(String),

    #[error("Dependency of the given system was not found: {0}!")]
    DependencyWasNotFound(String),

    #[error("Unable to start dispatching!")]
    DispatchSend,

    #[error("Unable to wait for systems to finish!")]
    DispatchReceive,
}