pub enum InsertOrUpdateNodeValueError<T>where
T: PathTreeTypes,{
InvalidPath(NodeValue<T>),
ValueTypeMismatch(NodeValue<T>),
}
Variants§
Implementations§
source§impl<T> InsertOrUpdateNodeValueError<T>where
T: PathTreeTypes,
impl<T> InsertOrUpdateNodeValueError<T>where
T: PathTreeTypes,
pub fn into_value(self) -> NodeValue<T>
Trait Implementations§
source§impl<T> Debug for InsertOrUpdateNodeValueError<T>where
T: PathTreeTypes + Debug,
impl<T> Debug for InsertOrUpdateNodeValueError<T>where
T: PathTreeTypes + Debug,
source§impl<T> Display for InsertOrUpdateNodeValueError<T>where
T: PathTreeTypes,
impl<T> Display for InsertOrUpdateNodeValueError<T>where
T: PathTreeTypes,
source§impl<T> Error for InsertOrUpdateNodeValueError<T>
impl<T> Error for InsertOrUpdateNodeValueError<T>
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<T> RefUnwindSafe for InsertOrUpdateNodeValueError<T>where
<T as PathTreeTypes>::InnerValue: RefUnwindSafe,
<T as PathTreeTypes>::LeafValue: RefUnwindSafe,
impl<T> Send for InsertOrUpdateNodeValueError<T>
impl<T> Sync for InsertOrUpdateNodeValueError<T>
impl<T> Unpin for InsertOrUpdateNodeValueError<T>
impl<T> UnwindSafe for InsertOrUpdateNodeValueError<T>
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