pub enum ConfigError {
MeshPredictionUnderSequential(String),
NonBitsQuantizationForNormal,
NormalEncodingOnNonNormal(AttributeType),
PredictedNormalsUnderSequential,
PredictionDegreeUnderSequential,
PredictionSchemeForType {
ty: AttributeType,
scheme: String,
},
QuantizationBitsOutOfRange(u8),
TransformForType {
ty: AttributeType,
transform: String,
},
TransformWithNoPrediction,
UnsupportedTraversal,
}Expand description
Errors from Config::validate.
Variants§
MeshPredictionUnderSequential(String)
A mesh-based prediction scheme was requested under sequential connectivity encoding, which carries no connectivity to predict from.
NonBitsQuantizationForNormal
A quantization mode other than an explicit bit count was set on a normal attribute.
NormalEncodingOnNonNormal(AttributeType)
A normal encoding mode was set on an attribute that is not a normal.
PredictedNormalsUnderSequential
Geometry-predicted normals were requested under sequential connectivity encoding, which carries no connectivity to predict from.
PredictionDegreeUnderSequential
Prediction-degree traversal was requested under sequential connectivity encoding, which carries no connectivity to traverse.
PredictionSchemeForType
The requested prediction scheme is not valid for the attribute type.
QuantizationBitsOutOfRange(u8)
The requested quantization bit count is outside the supported range.
TransformForType
The requested prediction transform is not valid for the attribute type.
TransformWithNoPrediction
A prediction transform other than NoTransform was combined with NoPrediction, which carries no transform on the wire.
UnsupportedTraversal
The selected edgebreaker traversal is not implemented.
Trait Implementations§
Source§impl Debug for ConfigError
impl Debug for ConfigError
Source§impl Display for ConfigError
impl Display for ConfigError
Source§impl Error for ConfigError
impl Error for ConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()