pub struct SessionReviewGuidance { /* private fields */ }Expand description
Thread-safe, cloneable handle to session-scoped human review guidance.
Cloning shares the underlying store so parent and child subagent runtimes observe user guidance notes live across the session.
Implementations§
Source§impl SessionReviewGuidance
impl SessionReviewGuidance
Sourcepub fn revoke(&self, id: ReviewGuidanceId) -> bool
pub fn revoke(&self, id: ReviewGuidanceId) -> bool
Revokes one recorded session review note by its stable ReviewGuidanceId.
Returns true if the entry was found and removed.
Sourcepub fn snapshot(&self) -> Vec<ReviewGuidanceEntry>
pub fn snapshot(&self) -> Vec<ReviewGuidanceEntry>
Returns a point-in-time snapshot of retained user guidance entries.
Trait Implementations§
Source§impl Clone for SessionReviewGuidance
impl Clone for SessionReviewGuidance
Source§impl Debug for SessionReviewGuidance
impl Debug for SessionReviewGuidance
Auto Trait Implementations§
impl Forget for SessionReviewGuidance
impl Freeze for SessionReviewGuidance
impl Move for SessionReviewGuidance
impl RefUnwindSafe for SessionReviewGuidance
impl Send for SessionReviewGuidance
impl Sync for SessionReviewGuidance
impl Unpin for SessionReviewGuidance
impl UnsafeUnpin for SessionReviewGuidancewhere
*const ArcInner<RwLock<SessionReviewGuidanceState>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<SessionReviewGuidanceState>>>: UnsafeUnpin,
impl UnwindSafe for SessionReviewGuidance
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