Struct FlowCtx
pub struct FlowCtx<'a> {
pub state: &'a State,
pub marking: &'a Marking,
}Expand description
Evaluation context handed to a Guard: the session state plus the
current flow marking.
Fields§
§state: &'a StateThe session state.
marking: &'a MarkingThe current flow marking (done steps + tool-call counts).
Auto Trait Implementations§
impl<'a> Freeze for FlowCtx<'a>
impl<'a> !RefUnwindSafe for FlowCtx<'a>
impl<'a> Send for FlowCtx<'a>
impl<'a> Sync for FlowCtx<'a>
impl<'a> Unpin for FlowCtx<'a>
impl<'a> !UnwindSafe for FlowCtx<'a>
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