2021-10-27 23:20:35 +02:00
|
|
|
#![forbid(unused_imports)]
|
2021-10-28 00:32:25 +02:00
|
|
|
#![warn(missing_docs, missing_debug_implementations)]
|
|
|
|
|
2021-10-27 23:20:35 +02:00
|
|
|
|
|
|
|
pub mod db;
|
|
|
|
pub mod error;
|
|
|
|
pub mod network;
|
|
|
|
pub mod oid;
|
|
|
|
pub mod permissions;
|
|
|
|
pub mod resource;
|
|
|
|
pub mod state;
|
|
|
|
pub mod varint;
|
|
|
|
|
|
|
|
use intmap::IntMap;
|
|
|
|
use resource::ResourceDriver;
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
|
struct InitiatorDriver;
|
|
|
|
#[derive(Debug)]
|
|
|
|
struct ActorDriver;
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
|
struct System {
|
|
|
|
resources: IntMap<ResourceDriver>,
|
|
|
|
initiators: IntMap<InitiatorDriver>,
|
|
|
|
actors: IntMap<ActorDriver>,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
|
struct Accountant {
|
|
|
|
|
|
|
|
}
|