pub struct ErrTreePkg { /* private fields */ }
Expand description
Captures extra information for ErrTree
automatically.
Self::new()
must be called by a function annotated with
#[track_caller]
to capture the correct callsite.
The inner fields are obscured to allow arbitrary metadata tracking
combinations via feature flags without changing the API. The boxed
feature can be enabled to store this in heap.
All instances of this are considered equal, to avoid infecting sort order or comparisons between the parent error types. Hashing is a no-op.
Implementations§
Source§impl ErrTreePkg
impl ErrTreePkg
Trait Implementations§
Source§impl Clone for ErrTreePkg
impl Clone for ErrTreePkg
Source§fn clone(&self) -> ErrTreePkg
fn clone(&self) -> ErrTreePkg
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ErrTreePkg
impl Debug for ErrTreePkg
Source§impl Default for ErrTreePkg
impl Default for ErrTreePkg
Source§impl Hash for ErrTreePkg
impl Hash for ErrTreePkg
Source§impl Ord for ErrTreePkg
impl Ord for ErrTreePkg
Source§impl PartialEq for ErrTreePkg
impl PartialEq for ErrTreePkg
Source§impl PartialOrd for ErrTreePkg
impl PartialOrd for ErrTreePkg
impl Eq for ErrTreePkg
Auto Trait Implementations§
impl Freeze for ErrTreePkg
impl RefUnwindSafe for ErrTreePkg
impl Send for ErrTreePkg
impl Sync for ErrTreePkg
impl Unpin for ErrTreePkg
impl UnwindSafe for ErrTreePkg
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