pub struct DanglingCalls { /* private fields */ }Expand description
The crash-recovery detection half of resume, fed one verified record
at a time so it rides the pass that verifies the chain: a
tool_called with no later tool_result in the same run is a call
whose outcome is unknown, and so is a call its own run followed with
another call before any result.
What it holds is the calls still open, one per run, and the calls already found dangling, never the ledger.
Implementations§
Source§impl DanglingCalls
impl DanglingCalls
Sourcepub fn observe(&mut self, record: &EventRecord)
pub fn observe(&mut self, record: &EventRecord)
Reads one record, in ledger order.
Sourcepub fn into_calls(self) -> Vec<EventRecord>
pub fn into_calls(self) -> Vec<EventRecord>
The calls with no outcome, ascending by seq, once every record has been observed.
Trait Implementations§
Source§impl Debug for DanglingCalls
impl Debug for DanglingCalls
Auto Trait Implementations§
impl Freeze for DanglingCalls
impl RefUnwindSafe for DanglingCalls
impl Send for DanglingCalls
impl Sync for DanglingCalls
impl Unpin for DanglingCalls
impl UnsafeUnpin for DanglingCalls
impl UnwindSafe for DanglingCalls
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