pub struct A2aRemoteAgentRecovery { /* private fields */ }Expand description
Explicit operator attestation controlling automated A2A reconciliation.
A2A 1.0 does not guarantee client context retention or messageId
deduplication. Enabling either strategy asserts a deployment-specific
property for at least the complete local invocation-ledger retention window.
Implementations§
Source§impl A2aRemoteAgentRecovery
impl A2aRemoteAgentRecovery
Sourcepub const MAXIMUM_CONTEXT_PAGES: u8 = 16
pub const MAXIMUM_CONTEXT_PAGES: u8 = 16
Maximum number of 100-task pages inspected by one probe.
Sourcepub const MAXIMUM_HISTORY_LENGTH: u16 = 256
pub const MAXIMUM_HISTORY_LENGTH: u16 = 256
A2A 1.0 maximum retained history suffix accepted by this client.
Sourcepub fn operator_attested_context_task_history(
maximum_pages: u8,
history_length: u16,
retry_after: DurationMillis,
) -> Result<Self, A2aRemoteAgentRecoveryError>
pub fn operator_attested_context_task_history( maximum_pages: u8, history_length: u16, retry_after: DurationMillis, ) -> Result<Self, A2aRemoteAgentRecoveryError>
Enables bounded context/task-history lookup under an operator attestation.
The operator asserts that this exact remote deployment accepts and
preserves client-supplied context IDs, exposes all matching tasks through
stable ListTasks pagination, and retains the original user messageId
in the requested history suffix for the full recovery window.
Sourcepub fn operator_attested_message_id_replay(
retry_after: DurationMillis,
) -> Result<Self, A2aRemoteAgentRecoveryError>
pub fn operator_attested_message_id_replay( retry_after: DurationMillis, ) -> Result<Self, A2aRemoteAgentRecoveryError>
Enables exact-message replay under an operator deduplication attestation.
The operator asserts that duplicate messageId values return the same
semantic operation without reapplying the write for the full recovery
window. This strategy is accepted only with MessageIdDeduplicated.
Sourcepub const fn mode(self) -> A2aRemoteAgentRecoveryMode
pub const fn mode(self) -> A2aRemoteAgentRecoveryMode
Returns the selected recovery mechanism without exposing mutable policy.
Trait Implementations§
Source§impl Clone for A2aRemoteAgentRecovery
impl Clone for A2aRemoteAgentRecovery
impl Copy for A2aRemoteAgentRecovery
Source§impl Debug for A2aRemoteAgentRecovery
impl Debug for A2aRemoteAgentRecovery
Source§impl Default for A2aRemoteAgentRecovery
impl Default for A2aRemoteAgentRecovery
impl Eq for A2aRemoteAgentRecovery
Source§impl PartialEq for A2aRemoteAgentRecovery
impl PartialEq for A2aRemoteAgentRecovery
impl StructuralPartialEq for A2aRemoteAgentRecovery
Auto Trait Implementations§
impl Forget for A2aRemoteAgentRecovery
impl Freeze for A2aRemoteAgentRecovery
impl Move for A2aRemoteAgentRecovery
impl RefUnwindSafe for A2aRemoteAgentRecovery
impl Send for A2aRemoteAgentRecovery
impl Sync for A2aRemoteAgentRecovery
impl Unpin for A2aRemoteAgentRecovery
impl UnsafeUnpin for A2aRemoteAgentRecovery
impl UnwindSafe for A2aRemoteAgentRecovery
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request