Skip to main content

Module image_resources

Module image_resources 

Source
Expand description

Explicit image reads and publication with caller-owned cancellation progress. The native Gemini response is kept apart from the view its images are read or published into; an image signature travels with the view to the client.

Structs§

GeminiImagePublications
Receipts, including malformed host replies, remain inspectable for host compensation. An uncertain publication is queried, never automatically sent again. This object and its resource scope belong to one invocation.
GeminiImageReads
Retains completed reads and an active resource body. Bytes are counted as each chunk arrives; cancellation resumes that same body without a new read.
ImageResourceProgress
Generation and resource work have independent retained progress. Re-enter through recover_with_image_resources, never repeat an uncertain POST.
ImageStreamProgress
Resource progress for a single incremental invocation. Native events remain in the invocation while these operations await; receipts survive cancellation of an individual next_with_image_resources future.
MaterializedImage

Traits§

ResourceSend
ResourceSync