pub enum InsertOrUpdateNodeValueError<T>where
T: PathTreeTypes,{
PathConflict {
conflict: TreeNodeParentChildPathConflict<T>,
value: NodeValue<T>,
},
ValueTypeMismatch {
value: 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> Freeze for InsertOrUpdateNodeValueError<T>where
<T as PathTreeTypes>::InnerValue: Freeze,
<T as PathTreeTypes>::LeafValue: Freeze,
<T as PathTreeTypes>::PathSegment: Freeze,
impl<T> RefUnwindSafe for InsertOrUpdateNodeValueError<T>where
<T as PathTreeTypes>::InnerValue: RefUnwindSafe,
<T as PathTreeTypes>::LeafValue: RefUnwindSafe,
<T as PathTreeTypes>::PathSegment: RefUnwindSafe,
impl<T> Send for InsertOrUpdateNodeValueError<T>where
<T as PathTreeTypes>::InnerValue: Sync + Send,
<T as PathTreeTypes>::LeafValue: Sync + Send,
<T as PathTreeTypes>::PathSegment: Sync + Send,
impl<T> Sync for InsertOrUpdateNodeValueError<T>where
<T as PathTreeTypes>::InnerValue: Sync + Send,
<T as PathTreeTypes>::LeafValue: Sync + Send,
<T as PathTreeTypes>::PathSegment: Sync + Send,
impl<T> Unpin for InsertOrUpdateNodeValueError<T>where
<T as PathTreeTypes>::InnerValue: Unpin,
<T as PathTreeTypes>::LeafValue: Unpin,
<T as PathTreeTypes>::PathSegment: Unpin,
impl<T> UnwindSafe for InsertOrUpdateNodeValueError<T>where
<T as PathTreeTypes>::InnerValue: UnwindSafe + RefUnwindSafe,
<T as PathTreeTypes>::LeafValue: UnwindSafe + RefUnwindSafe,
<T as PathTreeTypes>::PathSegment: UnwindSafe + RefUnwindSafe,
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