pub enum ProfileValidationError {
EmptyField {
field: &'static str,
},
InvalidBundleSha256,
InvalidCalibrationTemperature,
InvalidPolicyThreshold,
InvalidTolerance {
field: &'static str,
},
}Expand description
Validation errors for model execution profile metadata.
Variants§
EmptyField
A required text field was empty.
InvalidBundleSha256
The reference bundle digest was not a lowercase SHA-256 value.
InvalidCalibrationTemperature
Calibration temperature must be finite and strictly positive.
InvalidPolicyThreshold
Policy threshold must be a finite probability.
InvalidTolerance
A parity tolerance must be finite and non-negative.
Trait Implementations§
Source§impl Clone for ProfileValidationError
impl Clone for ProfileValidationError
Source§impl Debug for ProfileValidationError
impl Debug for ProfileValidationError
Source§impl Display for ProfileValidationError
impl Display for ProfileValidationError
Source§impl Error for ProfileValidationError
impl Error for ProfileValidationError
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 PartialEq for ProfileValidationError
impl PartialEq for ProfileValidationError
impl StructuralPartialEq for ProfileValidationError
Auto Trait Implementations§
impl Freeze for ProfileValidationError
impl RefUnwindSafe for ProfileValidationError
impl Send for ProfileValidationError
impl Sync for ProfileValidationError
impl Unpin for ProfileValidationError
impl UnsafeUnpin for ProfileValidationError
impl UnwindSafe for ProfileValidationError
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