Skip to main content

Module Types

Module Types 

Source
Expand description

Value types for the download lifecycle: state, priority, queue entries, results, statistics, and per-download configuration.

These structs are the data contract between DownloadManager methods, IPC callers (Cocoon VSIX installs, Mountain status queries), and tests.

Structs§

DownloadConfig
Per-download configuration including URL, destination, checksum, and limits.
DownloadResult
Final outcome of a completed download.
DownloadStatistics
Aggregate statistics across all downloads in this session.
DownloadStatus
Live status snapshot for one active download.
QueuedDownload
Entry in the priority download queue.

Enums§

DownloadPriority
Scheduling priority for the download queue.
DownloadState
Fine-grained state of a single download.

Type Aliases§

ProgressCallback
Type alias for progress callbacks registered with a download.