pub enum GErrNode<'a, C: Config, D> {
Root(&'a GErr<C, D>),
LeafErr(&'a (dyn Error + Send + Sync + 'static)),
LeafGErr(&'a GErrSource),
}Expand description
A node in GErrTree.
Contained by GErrTree.
Variants§
Root(&'a GErr<C, D>)
Root of GErr.
LeafErr(&'a (dyn Error + Send + Sync + 'static))
non-gerr source node.
LeafGErr(&'a GErrSource)
gerr or any error convertible to GErrSource node.
Trait Implementations§
Auto Trait Implementations§
impl<'a, C, D> !RefUnwindSafe for GErrNode<'a, C, D>
impl<'a, C, D> !UnwindSafe for GErrNode<'a, C, D>
impl<'a, C, D> Freeze for GErrNode<'a, C, D>
impl<'a, C, D> Send for GErrNode<'a, C, D>
impl<'a, C, D> Sync for GErrNode<'a, C, D>
impl<'a, C, D> Unpin for GErrNode<'a, C, D>
impl<'a, C, D> UnsafeUnpin for GErrNode<'a, C, D>
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