pub struct VisitInterrupt {
pub value: Any,
}Expand description
Interrupt state of a traversal, mirroring C++ ffi.VisitInterrupt.
Entry points and visitor-layer calls return
Result<Option<VisitInterrupt>>: Ok(None) means the (sub)graph was
visited completely, Ok(Some(..)) means a handler halted the traversal
with this interrupt, and Err means it failed.
Fields§
§value: AnyPayload returned with the interrupt, or FFI None for no payload.
Implementations§
Auto Trait Implementations§
impl !Send for VisitInterrupt
impl !Sync for VisitInterrupt
impl Freeze for VisitInterrupt
impl RefUnwindSafe for VisitInterrupt
impl Unpin for VisitInterrupt
impl UnsafeUnpin for VisitInterrupt
impl UnwindSafe for VisitInterrupt
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