useid::ID;usestd::result::Result as StdResult;/// Defines Quantized Density Fields errors.
#[derive(Debug)]pubenumQDFError{/// Tells that specified space does not exists in container.
SpaceDoesNotExists(ID),/// Tells that specified level does not exists in container.
LevelDoesNotExists(ID),/// Tells that specified field does not exists in container.
FieldDoesNotExists(ID),}/// Alias for standard result with `QDFError` error type.
pubtypeResult<T>=StdResult<T, QDFError>;