pub enum CapabilityKind {
LifecycleEvent(LifecycleEventKind),
ContextPressure,
NativeReceipts,
LifeloopSynthesizedReceipts,
ReceiptLedger,
HarnessSessionId,
HarnessRunId,
HarnessTaskId,
SessionRename,
ApprovalSurface,
}Expand description
Vocabulary of lifecycle capabilities a client can name in a
CapabilityRequest.
Each variant maps to a specific support claim on the
AdapterManifest. LifecycleEvent is parameterized by the
concrete LifecycleEventKind so a request can ask for “this
event must be native” without enumerating every event up front.
Variants§
LifecycleEvent(LifecycleEventKind)
Per-event support: the adapter must claim the named lifecycle
event in its lifecycle_events map.
ContextPressure
Native or synthesized context-pressure observation surface.
NativeReceipts
Adapter emits its own native receipts.
LifeloopSynthesizedReceipts
Lifeloop synthesizes receipts on the adapter’s behalf.
ReceiptLedger
Durable cross-invocation receipt ledger.
HarnessSessionId
Harness session-id correlation.
HarnessRunId
Harness run-id correlation.
HarnessTaskId
Harness task-id correlation.
SessionRename
Adapter’s session-rename surface (optional manifest field).
ApprovalSurface
Adapter’s operator approval surface (optional manifest field).
Implementations§
Source§impl CapabilityKind
impl CapabilityKind
Sourcepub fn name(&self) -> String
pub fn name(&self) -> String
Stable wire-style name for diagnostics and warning records.
This is not serialized as part of any public wire envelope —
it is the human-readable code surfaced on
CapabilityDegradation::capability and
Warning::capability.
Trait Implementations§
Source§impl Clone for CapabilityKind
impl Clone for CapabilityKind
Source§fn clone(&self) -> CapabilityKind
fn clone(&self) -> CapabilityKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CapabilityKind
impl Debug for CapabilityKind
Source§impl Hash for CapabilityKind
impl Hash for CapabilityKind
Source§impl PartialEq for CapabilityKind
impl PartialEq for CapabilityKind
Source§fn eq(&self, other: &CapabilityKind) -> bool
fn eq(&self, other: &CapabilityKind) -> bool
self and other values to be equal, and is used by ==.impl Eq for CapabilityKind
impl StructuralPartialEq for CapabilityKind
Auto Trait Implementations§
impl Freeze for CapabilityKind
impl RefUnwindSafe for CapabilityKind
impl Send for CapabilityKind
impl Sync for CapabilityKind
impl Unpin for CapabilityKind
impl UnsafeUnpin for CapabilityKind
impl UnwindSafe for CapabilityKind
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
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§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.