pub struct ManifestBindingProvider { /* private fields */ }Expand description
Reference provider backed by an execution-environment capability manifest.
Claude Code, Codex, and other official plugins can inspect their own
platform state, construct AgentProviderManifest, and delegate the common
request-to-receipt mapping here. Core still validates every returned receipt
through attest_bound_agents.
Implementations§
Source§impl ManifestBindingProvider
impl ManifestBindingProvider
Sourcepub fn new(manifest: AgentProviderManifest) -> Self
pub fn new(manifest: AgentProviderManifest) -> Self
Wrap one provider-owned capability manifest.
Sourcepub fn manifest(&self) -> &AgentProviderManifest
pub fn manifest(&self) -> &AgentProviderManifest
Borrow the provider-owned manifest used for resolution.
Trait Implementations§
Source§impl AgentBindingProvider for ManifestBindingProvider
impl AgentBindingProvider for ManifestBindingProvider
Source§fn bind<'life0, 'life1, 'async_trait>(
&'life0 self,
requests: &'life1 [BindRequest],
) -> Pin<Box<dyn Future<Output = Result<Vec<BindOutcome>, BindingProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn bind<'life0, 'life1, 'async_trait>(
&'life0 self,
requests: &'life1 [BindRequest],
) -> Pin<Box<dyn Future<Output = Result<Vec<BindOutcome>, BindingProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Resolve all requested bindings as one launch-time transaction. Read more
Source§fn pinned_to_session(
&self,
_session_id: &str,
) -> Option<Arc<dyn AgentBindingProvider>>
fn pinned_to_session( &self, _session_id: &str, ) -> Option<Arc<dyn AgentBindingProvider>>
Launch-scoped variant of this provider, resolved against one pinned
execution session id instead of whatever session currently holds the
request’s logical
binding_target. Read moreSource§impl Clone for ManifestBindingProvider
impl Clone for ManifestBindingProvider
Source§fn clone(&self) -> ManifestBindingProvider
fn clone(&self) -> ManifestBindingProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ManifestBindingProvider
impl RefUnwindSafe for ManifestBindingProvider
impl Send for ManifestBindingProvider
impl Sync for ManifestBindingProvider
impl Unpin for ManifestBindingProvider
impl UnsafeUnpin for ManifestBindingProvider
impl UnwindSafe for ManifestBindingProvider
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
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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