hyperpack 0.2.0

Exact-aware packing carriers and feasibility replay for the Hyper ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Error types for packing models and replay.

/// Result alias used by `hyperpack`.
pub type PackResult<T> = Result<T, PackError>;

/// Errors surfaced by exact packing carriers.
#[derive(Clone, Debug, Eq, PartialEq)]
pub enum PackError {
    /// A stable id was empty.
    EmptyIdentifier,
    /// A dimension was not certified positive.
    NonPositiveDimension,
    /// A placement referenced an unknown item.
    MissingItem,
}