pub enum ParameterError {
TypeMismatch,
OutOfRange,
ReadOnly,
NotFound,
StorageFull,
StringConversion,
InvalidRange,
}Expand description
Error type for typed parameter operations
Variants§
TypeMismatch
Parameter already declared with a different type
OutOfRange
Value is outside allowed range
ReadOnly
Parameter is read-only
NotFound
Parameter not found
StorageFull
Internal storage is full
StringConversion
String conversion failed
InvalidRange
Invalid range for type
Trait Implementations§
Source§impl Clone for ParameterError
impl Clone for ParameterError
Source§fn clone(&self) -> ParameterError
fn clone(&self) -> ParameterError
Returns a duplicate of the value. Read more
1.0.0 · 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 ParameterError
impl Debug for ParameterError
Source§impl From<SetParameterResult> for ParameterError
impl From<SetParameterResult> for ParameterError
Source§fn from(result: SetParameterResult) -> ParameterError
fn from(result: SetParameterResult) -> ParameterError
Converts to this type from the input type.
Source§impl PartialEq for ParameterError
impl PartialEq for ParameterError
impl Copy for ParameterError
impl Eq for ParameterError
impl StructuralPartialEq for ParameterError
Auto Trait Implementations§
impl Freeze for ParameterError
impl RefUnwindSafe for ParameterError
impl Send for ParameterError
impl Sync for ParameterError
impl Unpin for ParameterError
impl UnsafeUnpin for ParameterError
impl UnwindSafe for ParameterError
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