#[non_exhaustive]pub enum ConfigValidationError {
InvalidCheckSetting {
check_id: String,
field: &'static str,
},
InvalidClipLoopCap {
selector: String,
field: &'static str,
},
ConflictingClipMovementOwner {
selector: String,
},
ConflictingRuntimeNodeSelectors,
InvalidSyncGroupTolerance {
group: String,
field: &'static str,
},
InvalidTimeComplementSetting {
group: String,
field: &'static str,
},
}Expand description
Invalid values in a directly constructed Config.
Numeric values are intentionally not retained in this error so it remains
equality-comparable even when the rejected input was NaN.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidCheckSetting
A numeric per-check policy setting was outside its documented domain.
Fields
§
field: &'static strStable public CheckSettings field name.
InvalidClipLoopCap
A per-clip loop-continuity cap was negative or non-finite.
Fields
§
field: &'static strStable public ClipExpectations field name.
ConflictingClipMovementOwner
One clip selector declared both the canonical horizontal owner and its
legacy in_place alias.
ConflictingRuntimeNodeSelectors
The shared runtime-node selector field and its rest-world-scale compatibility alias were both declared.
InvalidSyncGroupTolerance
A sync-group tolerance was negative or non-finite.
InvalidTimeComplementSetting
A time-complement setting was outside its finite declared domain.
Trait Implementations§
Source§impl Clone for ConfigValidationError
impl Clone for ConfigValidationError
Source§fn clone(&self) -> ConfigValidationError
fn clone(&self) -> ConfigValidationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfigValidationError
impl Debug for ConfigValidationError
Source§impl Display for ConfigValidationError
impl Display for ConfigValidationError
impl Eq for ConfigValidationError
Source§impl Error for ConfigValidationError
impl Error for ConfigValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ConfigValidationError> for EvaluationError
impl From<ConfigValidationError> for EvaluationError
Source§fn from(source: ConfigValidationError) -> Self
fn from(source: ConfigValidationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfigValidationError
impl PartialEq for ConfigValidationError
impl StructuralPartialEq for ConfigValidationError
Auto Trait Implementations§
impl Freeze for ConfigValidationError
impl RefUnwindSafe for ConfigValidationError
impl Send for ConfigValidationError
impl Sync for ConfigValidationError
impl Unpin for ConfigValidationError
impl UnsafeUnpin for ConfigValidationError
impl UnwindSafe for ConfigValidationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more