Struct AcpSessionReadView
pub struct AcpSessionReadView { /* private fields */ }Expand description
Agent-scoped access to the durable ACP session store.
The handle is attached by ACP server and RPC ACP Agent construction. Each tool
execution still verifies that the task-local session key names a live ACP
session owned by agent_alias; construction for an alias alone is not an
ACP invocation grant.
Listing exposes live sessions only. History may read a killed target’s
retained transcript when it belongs to the same agent; this does not revive it.
Implementations§
Source§impl AcpSessionReadView
impl AcpSessionReadView
pub fn new( store: Arc<AcpSessionStore>, agent_alias: impl Into<String>, ) -> AcpSessionReadView
Trait Implementations§
Source§impl Clone for AcpSessionReadView
impl Clone for AcpSessionReadView
Source§fn clone(&self) -> AcpSessionReadView
fn clone(&self) -> AcpSessionReadView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for AcpSessionReadView
impl !UnwindSafe for AcpSessionReadView
impl Freeze for AcpSessionReadView
impl Send for AcpSessionReadView
impl Sync for AcpSessionReadView
impl Unpin for AcpSessionReadView
impl UnsafeUnpin for AcpSessionReadView
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more