Struct miri::borrow_tracker::tree_borrows::tree::ErrHandlerArgs
source · struct ErrHandlerArgs<'node, InErr> {
error_kind: InErr,
conflicting_info: &'node NodeDebugInfo,
accessed_info: &'node NodeDebugInfo,
}
Expand description
Data given to the error handler
Fields§
§error_kind: InErr
Kind of error that occurred
conflicting_info: &'node NodeDebugInfo
Tag that triggered the error (not the tag that was accessed, rather the parent tag that had insufficient permissions or the non-parent tag that had a protector).
accessed_info: &'node NodeDebugInfo
Information about the tag that was accessed just before the error was triggered.
Auto Trait Implementations§
impl<'node, InErr> Freeze for ErrHandlerArgs<'node, InErr>where
InErr: Freeze,
impl<'node, InErr> RefUnwindSafe for ErrHandlerArgs<'node, InErr>where
InErr: RefUnwindSafe,
impl<'node, InErr> !Send for ErrHandlerArgs<'node, InErr>
impl<'node, InErr> !Sync for ErrHandlerArgs<'node, InErr>
impl<'node, InErr> Unpin for ErrHandlerArgs<'node, InErr>where
InErr: Unpin,
impl<'node, InErr> UnwindSafe for ErrHandlerArgs<'node, InErr>where
InErr: UnwindSafe,
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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.