usestd::result;usethiserror::Error;/// This Result type is a convenience type that uses the BinPacker's Error type as a default.
pubtypeResult<T, E = Error>=result::Result<T, E>;#[derive(Debug, PartialEq, Error)]/// There are the errors which can be raised when using the bin packing algorithm.
pubenumError{/// It is an invariant that each item must be able to fit within the bin's dimensions. If one or
/// more items don't fit into the bin, then this error will be raised.
///#[error("AllItemsMustFit error: `{0}`")]
AllItemsMustFit(String),}