dope-net 0.13.0

The manifold runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod arena;
pub mod config;
pub mod metadata;
pub mod queue;
mod raw;
pub mod stage;
pub mod storage;
mod wire;

type WirePool = o3::buffer::Pool<o3::buffer::FixedPoolCapacity<{ o3::buffer::BLOCK_CAPACITY }>>;
type WireLease<'pool> =
    o3::buffer::Lease<'pool, o3::buffer::FixedPoolCapacity<{ o3::buffer::BLOCK_CAPACITY }>>;

const EGRESS_CAP_BYTES: u32 = 1 << 20;
const EGRESS_QUANTUM: usize = 256;
const EGRESS_CAP_ENTRIES: u32 = EGRESS_CAP_BYTES / EGRESS_QUANTUM as u32;