Skip to main content

Crate wip_client

Crate wip_client 

Source
Expand description

Presentation-independent stateful runtime for WIP clients.

Client separates observations by canonical WIP over HTTP endpoint and caller- supplied security context. It reconciles requested observation coverage without duplicating fresh or loading work, creates requests with the standard wip_http adapter, correlates responses by RequestId, and retains bounded object, tree, interface, diagnostic, and operation state. The crate contains no terminal, widget, or UI event types.

Structs§

CallContext
Immutable operation inputs fixed before request construction.
CallRecord
One bounded operation-history record.
Client
Stateful, presentation-independent WIP client runtime.
ClientError
Cloneable client-local failure suitable for model state and diagnostics.
ClientLimits
Bounded state limits for the client runtime.
ConfigurationError
A client bound must be nonzero.
Diagnostic
One bounded diagnostic-history entry.
InterfaceObservation
Cached interface descriptor observation for one structured (scope, name) pair.
ObjectObservation
Object observation associated with a request path.
PreparedRequest
Encoded HTTP request paired with its runtime identity.
RequestId
Monotonic identity assigned to one logical request.
SecurityContext
Opaque identity for authentication and authorization state.
SessionId
Identity of an isolated client session.
TreeObservation
Lazily materialized entry-tree node.

Enums§

CallOutcome
Terminal state retained for an operation call.
ClientErrorKind
High-level category for a client-local failure.
Completion
Result of applying a correlated response to the runtime.
DiagnosticKind
Kind of retained runtime diagnostic.
DispatchedTransportFailure
Transport failure occurring after operation dispatch.
ObservationState
Lifecycle of one cached observation.
OutcomeUnknownReason
Why a dispatched call has an unknown outcome.