pub enum SetParameterResult {
Success,
ReadOnly,
TypeMismatch,
OutOfRange,
NotFound,
StorageFull,
}Expand description
Result of setting a parameter
Variants§
Success
Parameter was set successfully
ReadOnly
Parameter is read-only
TypeMismatch
Parameter type mismatch (and dynamic typing disabled)
OutOfRange
Value is outside allowed range
NotFound
Parameter not found
StorageFull
Storage is full
Implementations§
Source§impl SetParameterResult
impl SetParameterResult
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Check if the result indicates success
Trait Implementations§
Source§impl Clone for SetParameterResult
impl Clone for SetParameterResult
Source§fn clone(&self) -> SetParameterResult
fn clone(&self) -> SetParameterResult
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 SetParameterResult
impl Debug for SetParameterResult
Source§impl From<SetParameterResult> for ParameterError
impl From<SetParameterResult> for ParameterError
Source§fn from(result: SetParameterResult) -> Self
fn from(result: SetParameterResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetParameterResult
impl PartialEq for SetParameterResult
impl Copy for SetParameterResult
impl Eq for SetParameterResult
impl StructuralPartialEq for SetParameterResult
Auto Trait Implementations§
impl Freeze for SetParameterResult
impl RefUnwindSafe for SetParameterResult
impl Send for SetParameterResult
impl Sync for SetParameterResult
impl Unpin for SetParameterResult
impl UnsafeUnpin for SetParameterResult
impl UnwindSafe for SetParameterResult
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