pub enum ParameterValueError {
OutOfRange,
TypeMismatch,
ReadOnly,
}
Expand description
Describes errors that can be generated when trying to set a parameter’s value.
Variants§
OutOfRange
Parameter value was out of the parameter’s range.
TypeMismatch
Parameter was stored in a static type and an operation on a different type was attempted.
ReadOnly
A write on a read-only parameter was attempted.
Trait Implementations§
Source§impl Debug for ParameterValueError
impl Debug for ParameterValueError
Source§impl Display for ParameterValueError
impl Display for ParameterValueError
Source§impl Error for ParameterValueError
impl Error for ParameterValueError
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()
Auto Trait Implementations§
impl Freeze for ParameterValueError
impl RefUnwindSafe for ParameterValueError
impl Send for ParameterValueError
impl Sync for ParameterValueError
impl Unpin for ParameterValueError
impl UnwindSafe for ParameterValueError
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