ArrTop::State
Inherits Enum < Comparable < Value < Object
arrtop's own normalized queue state, ordered so "what's importing" rises to
the top of the view. The enum value is the sort rank — lower sorts
first (Importing = 0 … Unknown = 5).
Constants
Importing = 0
ImportPending = 1
Downloading = 2
Failed = 3
Queued = 4
Unknown = 5
Constructors
Maps a shard trackedDownloadState string onto a normalized State.
Matching is case-insensitive; unknown or nil values become Unknown.
The shard enum values are: downloading, importBlocked,
importPending, importing, imported, failedPending, failed,
ignored (queued is accepted too, though it is reported via the queue
status field rather than trackedDownloadState).