Skip to main content

Crate cortexkit_claustrum_client

Crate cortexkit_claustrum_client 

Source
Expand description

Claustrum credential consumer for subc-supervised modules.

Structs§

ClaustrumCredentialResolver
Live claustrum-backed resolver. It lazily opens one soft outbound route and retries transient or transport errors for credential operations; scoped reads return the first error because each consumer owns its one-shot redial bound. Auth and permanent failures always return immediately.
CredentialPublicKey
CredentialResolverError
CredentialSignature
CredentialStatus
Plaintext readiness metadata for a scoped credential. This never contains or mints credential material, so callers can poll repair progress safely.
ListedCredential
One vault row as credential.list_scoped describes it. The vault fills in account_id, refresh_adapter and the plan tier only for rows the caller may list or read.
ListedGrant
One grant the caller holds: which selector it names and which operation it allows.
ResolvedCredential
ScopedCredentialListing
The metadata credential.list_scoped returns for the caller’s own grants. It carries identity and protocol only, never secret material.
ScopedWatch
A single held request. No reconnect or resubscribe is performed automatically. Drop or stop cancels it; drain notices with next before awaiting closed.
ScopedWatchNotice
UnavailableCredentialResolver
Fail-closed resolver used when no live claustrum route is available.
WatchTracker
Tracks notifications separately from acknowledged inventory/key reads. Call opened for each new subscription; duplicate closes never trigger retries.

Enums§

CredentialErrorClass
ScopedWatchKind
ScopedWatchOutcome
WatchAction

Traits§

CredentialResolver

Type Aliases§

CredentialResolverFuture
WatchNotice
Transport-independent producer notice, also used by the raw watch handle.