pub enum BTreeMapFromValueError {
HasDefaultValue {
value: ValueHandle,
},
}
Expand description
An error that may occur while extracting a BTreeMap from a value.
Variants§
HasDefaultValue
The BTreeMap cannot be extracted since it has a default value.
Fields
§
value: ValueHandle
The default value
Trait Implementations§
source§impl Debug for BTreeMapFromValueError
impl Debug for BTreeMapFromValueError
source§impl Display for BTreeMapFromValueError
impl Display for BTreeMapFromValueError
source§impl Error for BTreeMapFromValueError
impl Error for BTreeMapFromValueError
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 BTreeMapFromValueError
impl RefUnwindSafe for BTreeMapFromValueError
impl Send for BTreeMapFromValueError
impl Sync for BTreeMapFromValueError
impl Unpin for BTreeMapFromValueError
impl UnwindSafe for BTreeMapFromValueError
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