pub enum HashMapFromValueError {
HasDefaultValue {
value: ValueHandle,
},
}
Expand description
An error that may occur while extracting a HashMap from a value.
Variants§
HasDefaultValue
The HashMap cannot be extracted since it has a default value.
Fields
§
value: ValueHandle
The default value
Trait Implementations§
source§impl Debug for HashMapFromValueError
impl Debug for HashMapFromValueError
source§impl Display for HashMapFromValueError
impl Display for HashMapFromValueError
source§impl Error for HashMapFromValueError
impl Error for HashMapFromValueError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 HashMapFromValueError
impl RefUnwindSafe for HashMapFromValueError
impl Send for HashMapFromValueError
impl Sync for HashMapFromValueError
impl Unpin for HashMapFromValueError
impl UnwindSafe for HashMapFromValueError
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