#[non_exhaustive]pub enum CollectionDirectionalSpeedPolicyError {
Show 13 variants
InvalidNumber {
field: &'static str,
},
InvalidBasis,
TooFewMembers {
found: usize,
},
TooManyMembers {
found: usize,
max: usize,
},
DuplicateMember {
value: String,
},
InvalidCoordinate {
member: String,
},
DuplicateCoordinate {
member: String,
},
InvalidModeFields,
ManifestMismatch,
ManifestTooLarge,
WrongRuntimeSetKind,
RuntimeSetMismatch,
MemberOrderMismatch,
}Expand description
A directional-speed policy was malformed or violated a frozen V1 bound.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidNumber
A scalar or component was non-finite or outside its V1 bound.
InvalidBasis
The source X/Z basis was zero or not perpendicular.
TooFewMembers
Fewer than two directional members were declared.
TooManyMembers
The policy exceeded its member bound.
DuplicateMember
A member id was repeated.
InvalidCoordinate
A member coordinate was zero, non-finite, or out of range.
DuplicateCoordinate
Two members used one exact semantic coordinate.
InvalidModeFields
Mode-specific fields were missing, extra, or invalid.
ManifestMismatch
The policy did not carry the exact manifest identity.
ManifestTooLarge
The manifest byte identity exceeds the V1 bounded reader limit.
WrongRuntimeSetKind
The referenced runtime set was not directional-blend.
RuntimeSetMismatch
The policy runtime-set id differed from the evidence set id.
MemberOrderMismatch
Policy member order or membership differed from the evidence set.
Trait Implementations§
Source§impl Clone for CollectionDirectionalSpeedPolicyError
impl Clone for CollectionDirectionalSpeedPolicyError
Source§fn clone(&self) -> CollectionDirectionalSpeedPolicyError
fn clone(&self) -> CollectionDirectionalSpeedPolicyError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Eq for CollectionDirectionalSpeedPolicyError
Source§impl Error for CollectionDirectionalSpeedPolicyError
impl Error for CollectionDirectionalSpeedPolicyError
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()