pub enum Kind {
Manifest,
Inbox,
Context,
Run,
Subagent,
Task,
Memory,
Artifact,
Timer,
Event,
Audit,
Cred,
}Expand description
The entity kinds a durable record can carry. The kind is a key segment, so adding one changes what a restore can enumerate by prefix.
Variants§
Manifest
Inbox
Context
Run
Subagent
Task
Memory
Artifact
Timer
Event
One event on a named stream, keyed <stream>/e<seq>.
Not manifest-indexed: streams keep their own head/tail counters in
Manifest::streams, and events are walked by sequence, never listed.
Audit
Cred
A cached endpoint credential: an OAuth/OIDC/AWS/SPIFFE access + refresh token with its expiry, keyed by a hash of (endpoint, provider, principal). Redaction-excluded — never logged, audited, or read-surfaced.
Implementations§
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
Source§impl Ord for Kind
impl Ord for Kind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Kind
impl PartialOrd for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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