Skip to main content

Module transport

Module transport 

Source
Expand description

The one place resource/operation code reaches the Incus daemon through: Client::request. Everything below this module is HTTP framing (transport::unix); everything above it (operations, resources) works only with IncusEnvelope, never raw bytes.

Structsยง

Client
The Incus API client. Cheap to clone (Arc-backed) - share one instance across tasks rather than constructing a new one per call.
WithEtag
A value paired with the ETag it was fetched with, for later use as an If-Match precondition on an update.