arcbox-datapath 0.4.9

Lock-free packet buffer pool, SPSC/MPMC ring buffers, and cache-aligned datapath primitives for ArcBox
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Error type for the datapath buffer pool.

use thiserror::Error;

/// Result alias for datapath operations.
pub type Result<T> = std::result::Result<T, Error>;

/// Errors raised by the datapath primitives.
#[derive(Debug, Error)]
pub enum Error {
    /// Packet pool error (buffer too large, or pool exhausted).
    #[error("packet pool error: {0}")]
    PacketPool(String),
}