pub struct ContextScopeResolver;Expand description
Resolves user scopes from the user_scopes() method on ToolContext.
This is the default resolver — it delegates directly to the context, which may pull scopes from JWT claims, session state, or any other source configured at the context level.
Trait Implementations§
Source§impl ScopeResolver for ContextScopeResolver
impl ScopeResolver for ContextScopeResolver
Auto Trait Implementations§
impl Freeze for ContextScopeResolver
impl RefUnwindSafe for ContextScopeResolver
impl Send for ContextScopeResolver
impl Sync for ContextScopeResolver
impl Unpin for ContextScopeResolver
impl UnsafeUnpin for ContextScopeResolver
impl UnwindSafe for ContextScopeResolver
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